I am having a problem with a combobox on a worksheet when I select the number 0.10 and it is reflected in cell A1. Cell A3 should show TRUE because cell B1 is greater than A1. What am I doing wrong? I have cell A1 formatted as a number with 2 decimal places and use of the following code :
Code:
Private Sub Workbook_Open()
With Worksheets("Sheet1").OLEObjects("ComboBox1").Object
.Clear
.AddItem "0.10"
.AddItem "0.20"
.AddItem "0.50"
.ListIndex = 0 'optional
End With
End Sub