Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to use a named range for the control source for a combo box in a
userform. is that possible, and if so, how! thanks! -- paulao |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Option Explicit
Private Sub UserForm_Initialize() With Me.ComboBox1 .ControlSource = ActiveWorkbook.Worksheets("sheet9999") _ .Range("somenamedrangehere").Address(external:=Tru e) End With End Sub Adjust the sheetname and range name to what you need. paula wrote: I need to use a named range for the control source for a combo box in a userform. is that possible, and if so, how! thanks! -- paulao -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
ComboBox1.RowSource = "MyRangeName"
or if named range is sheet specific ComboBox1.RowSource = "Sheet1!MyRangeName" -- Regards, Nigel "paula" wrote in message ... I need to use a named range for the control source for a combo box in a userform. is that possible, and if so, how! thanks! -- paulao |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Syntax for control source in combo box control | Excel Discussion (Misc queries) | |||
Control Source / Row Source very unstable | Excel Programming | |||
"Combo Box - getting control combo box to stick in place in worksh | Excel Discussion (Misc queries) | |||
"Combo Box - getting control combo box to stick in place in worksh | Excel Discussion (Misc queries) | |||
Control Tab from Combo box- format control missing!! | Excel Discussion (Misc queries) |