Why is it that when the format for the range of cells in my combo box properties are percentages does the selection from the drop down list appear in the combo box as a decimal, rather than showing a percent sign? Is there a way to have the selection in the combo box show as a percent, with the percent sign?
Help!
[ This Message was edited by: cpc on 2002-03-16 21:27 ]
Hi cpc
The Combobox will pick up the real values of a cell and not it's formatting. Use this
Private Sub ComboBox1_Change()
If ComboBox1.ListIndex > -1 Then
Combox1 = Format(ComboBox1, "0.00%")
End If
End Sub
Just be aware that the value will now be Text and NOT numeric. But there many ways to still use the Text in other functions.
Like this thread? Share it with others