Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Default value of msoControlComboBox
I'd like to have a default value of -Select Action-
for my combobox drop down menu. I know how to add items... but how do I have a intial value that shows default, before a user selects anything? '<<--Button 4 Acad Actions ' Create a button with an image on the bar and set some ' properties. Set ComBarContrl = ComBar.Controls.Add(Type:=msoControlComboBox) With ComBarContrl 'the facId line will let you choose an icon ' If you choose to use the faceId then the caption is not displayed .FaceId = 1081 .Style = msoButtonIconAndCaption .AddItem "First Item", 1 .AddItem "Second Item", 2 '.DropDownWidth = 200 .DropDownLines = 3 .Caption = "Action" .TooltipText = "Select Acad Edit Action" .Width = 130 End With |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Change default number to default text? | Excel Programming | |||
Default Windows Profile without default Office user info | Excel Discussion (Misc queries) | |||
Default ribbon to open by default when opening xls in browser | Excel Discussion (Misc queries) | |||
store default printer, change printer and then restore default printer? | Excel Programming | |||
msoControlComboBox Value | Excel Programming |