Add this code to the combo box
Private Sub ComboBox1_Change()
ComboBox1.Value = Format(ComboBox1.Value, "mmm-yy")
End Sub
Private Sub ComboBox1_Change()
ComboBox1.Value = Format(ComboBox1.Value, "mmmm-yyyy")
ComboBox1.Font = Format(ComboBox1.Font, "ColorIndex = 3")
ComboBox1.Font.Bold = False
ComboBox1.Font.Bold = True
With ComboBox1.Font
.Name = "Arial"
.Size = 14
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlUnderlineStyleNone
.ColorIndex = 3
End With
End Sub
I would appreciate any "de-bugging" of my feeble attempts V.much.
MEM
:Add this code to the combo box
Michelle:
You don't need the change macro to set the other properties. This can be done in the Properties Window. The font can be set to Bold, Arial, Size 14. Change the ForeColor property for the correct color.
HTH
:L
:Thankyou v.much - didn't look at the forecolor in properties!
:Combo box looks v.neat now!
:MEM
Michelle: You don't need the change macro to set the other properties. This can be done in the Properties Window. The font can be set to Bold, Arial, Size 14. Change the ForeColor property for the correct color. HTH
:L
:Thankyou very much - I had overlooked the "forecolour", combo box looks V.neat now.
:M :-)
Michelle: You don't need the change macro to set the other properties. This can be done in the Properties Window. The font can be set to Bold, Arial, Size 14. Change the ForeColor property for the correct color. HTH