I am creating a UserForm in Excel2000 and I want to change the data type for two of my text box variables to "double" and format them with a comma for the thousand separator and no numbers to the right of the decimal.
I am not using a data source. I have one textbox that I want the user input (Cost) to display with thousand separators and one that displays a formula value that I also want to display with commas. The formual sums data previously posted in the workbook from the user input (the sum of all Cost entries based on the Identifier). I have formatted the column containing the Cost enties but this has no effect on the data displayed in the UserForm.
The textbox on the UserForm is just that, a text box. You will have to format it yourself. Parse the value returned by the formula and make the separators.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.