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.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
108 views1 page
Excel VBA: Decimal Conversion Tips
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.