Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I'm trying to Declare worksheet Comboboxes (from Control Toolbox) as object variables, but I don't know how to refer to them! Dim CoBo as MSForms.Combobox doesn't work on a worksheet, CoBo turns to Nothing and and I get a Type Mismatch Error. I found that Controls are referred to as OLEObjects but I can't find information how to declare the variable. For Each CoBo In Worksheets("Calculation").OLEObjects CoBo.Clear If Left(CoBo.Name, 4) = "Curr" Then CoBo.List = CurrVar End If Next Thanks for help! Mats |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Add Custom Objects to Sheet | Excel Discussion (Misc queries) | |||
Different objects-same sheet | Excel Discussion (Misc queries) | |||
Cannot move objects off sheet | New Users to Excel | |||
cannot shift objects off sheet | Excel Programming | |||
Unable to remove Sheet objects in the Microsoft Excel Objects | Excel Programming |