Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Run-time error '9':
Subscript out of range Highlights within the Private Sub cmdOK_Click(): Worksheets(Me.ComboBox1.Value).Activate It is telling you that the value of ComboBox1 does not equate to a recognizable object. If you step through the code, using F8 key, to check the code line by line your tool tips popup will show the values of your objects and variables when you mouse-over them. Set a breakpoint on the first line of the code after the title line and then click the button to initiate the code. Then you can use F8 to step through the rest of the macro. I will take a closer look at your other problem and see if I can find something that I might have overlooked initially. Right now, I don't understand why it is not working with the changes I gave you. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Combo boxes in userform auto drop down problem | Excel Programming | |||
Newbie question: How to iterate over combo boxes on a worksheet | Excel Programming | |||
problem with populating a combo box on a userform | Excel Programming | |||
Newbie : Combo box on cell ? | Excel Programming | |||
newbie userform problem | Excel Programming |