Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following code. In cell AA1:AA4 there are
numbers. For instance the number in cell AA1 is .35. The code pulls the value from the specified cells and displays it in the cooresponding textbox. When the userform is loaded, the text boxes display the numbers in .XX format..... for example Textbox1 displays .35. I would like for the textboxes to show the numbers in percent format. For example I would like textbox1 to show 35% instead of .35. What is the code for this? Private Sub UserForm_Initialize() Me.TextBox1.Value = Worksheets(1).Range("AA1").Value Me.TextBox2.Value = Worksheets(1).Range("AA2").Value Me.TextBox3.Value = Worksheets(1).Range("AA3").Value Me.TextBox4.Value = Worksheets(1).Range("AA4").Value End Sub Thanks in advance to all who reply. Todd Huttenstine |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Percents | Excel Worksheet Functions | |||
Percents | Excel Discussion (Misc queries) | |||
A Follow up to Userform Formating | Excel Discussion (Misc queries) | |||
Userform Formating | Excel Discussion (Misc queries) | |||
Percents and Text in one cell - need to add percents only | Excel Discussion (Misc queries) |