Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Could someone please show example code on how to capture what the selected
content (a string) of a combobox was on a shortcut menu when it closed? Thanks in advance. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
From Rob Bovey:
Sub HandleCombo() Dim ctlComboBox As CommandBarComboBox Dim szItem As String Set ctlComboBox = CommandBars.ActionControl szItem = ctlComboBox.Text ''' This is required to overcome a screen refresh bug in Excel 97. Application.ScreenUpdating = False Application.ScreenUpdating = True MsgBox "You chose " & szItem End Sub -- Regards, Tom Ogilvy "quartz" wrote in message ... Could someone please show example code on how to capture what the selected content (a string) of a combobox was on a shortcut menu when it closed? Thanks in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
What is a shortcut menu? | Excel Discussion (Misc queries) | |||
Popup Menu / Shortcut Menu | Excel Discussion (Misc queries) | |||
Shortcut Menu With Toggle Control | Excel Programming | |||
shortcut menu | Excel Discussion (Misc queries) | |||
shortcut for menu | Excel Programming |