I need to change the properties of a combo box using vba.
Here is my code:
Combo4.RowSourceType = "Value List"
Combo4.DefaultValue = "1/1/1999"
Combo4.RowSource = "1/1/1999, 1/2/1999, 1/3/1999"
The combo box displays the default value as the quotient of 1/1999. It displays the other rows normally. No matter WHAT I do, it treats the default value as a number.
Please advise.
Here is my code:
Combo4.RowSourceType = "Value List"
Combo4.DefaultValue = "1/1/1999"
Combo4.RowSource = "1/1/1999, 1/2/1999, 1/3/1999"
The combo box displays the default value as the quotient of 1/1999. It displays the other rows normally. No matter WHAT I do, it treats the default value as a number.
Please advise.