Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
ComboBox ShowDropButtonWhen error
Hi, I've tried to change the ShowDropButtonWhen property of ComboBox58 in my activeworksheet with the following macro, but I get a Run-time error '438': Object doesn't support this property or method. Sub Change_ShowDropButtonWhen() Set ws = ActiveSheet Dim ComboBox58 As OLEObject Set ComboBox58 = ws.OLEObjects("ComboBox58") ComboBox58.ShowDropButtonWhen = fmShowDropButtonWhenAlways End Sub Can someone help me solve this error? Thanks in advance! -- leonidas ------------------------------------------------------------------------ leonidas's Profile: http://www.excelforum.com/member.php...o&userid=35375 View this thread: http://www.excelforum.com/showthread...hreadid=556396 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
ComboBox ShowDropButtonWhen error
Why not right click on the combobox select properties and change it manually.
Is there a need to have a macro do it. -- Thanks! Shane W "leonidas" wrote: Hi, I've tried to change the ShowDropButtonWhen property of ComboBox58 in my activeworksheet with the following macro, but I get a Run-time error '438': Object doesn't support this property or method. Sub Change_ShowDropButtonWhen() Set ws = ActiveSheet Dim ComboBox58 As OLEObject Set ComboBox58 = ws.OLEObjects("ComboBox58") ComboBox58.ShowDropButtonWhen = fmShowDropButtonWhenAlways End Sub Can someone help me solve this error? Thanks in advance! -- leonidas ------------------------------------------------------------------------ leonidas's Profile: http://www.excelforum.com/member.php...o&userid=35375 View this thread: http://www.excelforum.com/showthread...hreadid=556396 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
ComboBox Code Error | Excel Programming | |||
combobox out of memory error | Excel Programming | |||
Error 13 with combobox | Excel Programming | |||
error (ComboBox-?) | Excel Programming | |||
Combobox run time error | Excel Programming |