Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I'm using Excel 2003. I have added a combobox to Sheet1. I would like to know how to access that control both from the code behind Sheet 1, as well as another module in the Modules folder. I am a little more used to Access VBA and Windows Forms, and there it is as simple as something like: Forms("formName").Controls("controlNname").Propert y/Method I have used the object browser but haven't found a similar "Controls" collection to locate my combo box. Any help would be appreciated! Thanks, -Scott |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If I want to clear the combobox, I could use this:
Worksheets("sheet999").ComboBox1.Clear or Worksheets("sheet999").OLEObjects("Combobox1").Obj ect.Clear scottydel wrote: Hello, I'm using Excel 2003. I have added a combobox to Sheet1. I would like to know how to access that control both from the code behind Sheet 1, as well as another module in the Modules folder. I am a little more used to Access VBA and Windows Forms, and there it is as simple as something like: Forms("formName").Controls("controlNname").Propert y/Method I have used the object browser but haven't found a similar "Controls" collection to locate my combo box. Any help would be appreciated! Thanks, -Scott -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
form control combobox | Excel Discussion (Misc queries) | |||
Control ToolBox ComboBox | Excel Discussion (Misc queries) | |||
Dim CTL as MSForms.Control always sets as Control/Combobox | Excel Programming | |||
Excel Combobox Box Control | Excel Programming | |||
Run time combobox control in excel | Excel Programming |