Change ComboBox Properties
I want to change the combobox border style and color. Please assist with the code.
Sub AddCBTest()
'
' AddCBTest Macro
'
'
Selection.InlineShapes.AddOLEControl ClassType:="Forms.ComboBox.1"
Selection.Borders.InsideLineStyle = wdLineStyleSingle
Selection.Borders.OutsideColor = wdColorWhite
Selection.Borders.Shadow = False
End Sub
|