Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Unloading a Form
I have created many userforms and have been able to unload them.
I am wondering why I would get an error when I try to unload the latest userform I am working with. The error presented is run time error 361: Can't load or unload this object This form contains a Multipage where I add controls to several of the pages. Could this be contributing to my problem? Is there something that must be done prior to unloading this form? I appreciate any input you could provide. -- VBA Fun |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Unloading a Form
Nevermind....I found my problem. Nomenclature. For some reason I had my
form name in parenthesis. -- VBA Fun "VBA Fun" wrote: I have created many userforms and have been able to unload them. I am wondering why I would get an error when I try to unload the latest userform I am working with. The error presented is run time error 361: Can't load or unload this object This form contains a Multipage where I add controls to several of the pages. Could this be contributing to my problem? Is there something that must be done prior to unloading this form? I appreciate any input you could provide. -- VBA Fun |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Unloading a Form
VBA:
That error usually means you're trying to unload one of the controls rather than form. For instance, in the userform's module Unload Me.Multipage1 will produce that error, but Unload Me won't. Double check that you have the right object in your Unload statement. -- Dick Kusleika MVP-Excel www.dailydoseofexcel.com VBA Fun wrote: I have created many userforms and have been able to unload them. I am wondering why I would get an error when I try to unload the latest userform I am working with. The error presented is run time error 361: Can't load or unload this object This form contains a Multipage where I add controls to several of the pages. Could this be contributing to my problem? Is there something that must be done prior to unloading this form? I appreciate any input you could provide. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Form not unloading before next code line | Excel Programming | |||
Strange issue freezing parent form when unloading a child form | Excel Programming | |||
Unloading a form using the ESC key | Excel Programming | |||
How to avoid re-initialisation when Unloading form | Excel Programming | |||
Unloading A Form | Excel Programming |