Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi, I am looping through comboboxes in the active sheet using the following code: For Each myDD In ActiveSheet.OLEObjects If TypeOf myDD.Object Is ComboBox Then 'ctrl is a checkbox, if the checkbox is checked then it will loop to the 'corresponding comboBox If myDD.Index = ctrl.Index - 1 Then msgbox myDD.value end if end if next myDD so if a check box value is true then I want the value of the combobox that is located next to the checkbox on the sheet to be displayed. The above code does not work as there is no value property for this object. is there a better way of going about this? or can it be achieved this way? thanks in advance for any assistance -- cmpcwil2 ------------------------------------------------------------------------ cmpcwil2's Profile: http://www.excelforum.com/member.php...o&userid=33411 View this thread: http://www.excelforum.com/showthread...hreadid=552640 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Viewing combobox properties | Excel Discussion (Misc queries) | |||
Change ComboBox properties in VBA? | Excel Programming | |||
TextColumn Properties of ComboBox | Excel Discussion (Misc queries) | |||
Setting properties to combobox | Excel Programming | |||
ComboBox ProperTies | Excel Programming |