This document discusses automatically changing commas to periods in a textbox when the user enters decimal values. It provides VBA code to run when the textbox value changes that uses the Replace function to swap any commas for periods in the textbox value. This allows the textbox to properly handle decimal numbers regardless of the separator used by the user.
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
27 views
Userform Textbox With Decimals
This document discusses automatically changing commas to periods in a textbox when the user enters decimal values. It provides VBA code to run when the textbox value changes that uses the Replace function to swap any commas for periods in the textbox value. This allows the textbox to properly handle decimal numbers regardless of the separator used by the user.