+ Reply to Thread
Results 1 to 5 of 5

Unloading a Form

  1. #1
    VBA Fun
    Guest

    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. #2
    VBA Fun
    Guest

    RE: 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. #3
    Dick Kusleika
    Guest

    Re: 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.

    --
    **** 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.




  4. #4
    Registered User
    Join Date
    02-24-2019
    Location
    uk
    MS-Off Ver
    9
    Posts
    1

    Re: Unloading a Form

    hi, i have the same issue massage appear file not found, run time error 361: Can't load or unload this object.
    could you please help me out with it.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 2000/3/7/10/13/16
    Posts
    51,807

    Re: Unloading a Form

    Quote Originally Posted by amit54 View Post
    hi, i have the same issue massage appear file not found, run time error 361: Can't load or unload this object.
    could you please help me out with it.
    Unfortunately your post does not comply with Rule 4 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1