Results 1 to 8 of 8
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Flims, Switzerland
    Posts
    271
    Thanks
    0
    Thanked 0 Times in 0 Posts

    UserForm_Activate() event not in object browser (2000 SP3)

    Has anyone any idea why the UserForm_Activate() event does not appear in the object browser?

  2. #2
    Gold Lounger
    Join Date
    Feb 2004
    Location
    Cape Town, RSA
    Posts
    3,444
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: UserForm_Activate() event not in object browser (2000 SP3)

    I dont think the User form is documented in the Object Browser at all. You will need to use the help files for guidelines here!
    Regards,
    Rudi

  3. #3
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: UserForm_Activate() event not in object browser (2000 SP3)

    AFAIK events are never listed in the object browser, but I could be proven wrong.
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

  4. #4
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Flims, Switzerland
    Posts
    271
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: UserForm_Activate() event not in object browser (2000 SP3)

    Events are definitely listed in the object browser.

    Look under MSForms, then the UserForm class. All the other events seem to be there, e.g. AddControl, BeforeDragOver, BeforeDropOrPaste, Click, etc. but not Activate.

    There seem to be several more missing too, e.g. Deactivate, Initialize, Resize, QueryClose.

    Perhaps these events are exposed as part of another interface which UserForm is implementing but I can't find that interface.

  5. #5
    Gold Lounger
    Join Date
    Feb 2004
    Location
    Cape Town, RSA
    Posts
    3,444
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: UserForm_Activate() event not in object browser (2000 SP3)

    I see workbook and sheet events in the Object browser. They are represented with a yellow lightning strike! I do not see a MSForms or a UserForm class.???
    Regards,
    Rudi

  6. #6
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: UserForm_Activate() event not in object browse

    Hi Adam,
    You are quite correct but I don't know why the events don't appear. If you browse the Help files, certain events seem to be stored in the Visual Basic help files and others in the Visual Basic Forms help files. Ours not to reason why...
    Regards,
    Rory

    Microsoft MVP - Excel

  7. #7
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Flims, Switzerland
    Posts
    271
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: UserForm_Activate() event not in object browser (2000 SP3)

    Add a UserForm to you project and MSForms will appear in the library dropdown in the object browser. UserForm is a class in that library.

  8. #8
    Gold Lounger
    Join Date
    Feb 2004
    Location
    Cape Town, RSA
    Posts
    3,444
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: UserForm_Activate() event not in object browser (2000 SP3)

    Thanks, that makes sense!!! <img src=/S/smile.gif border=0 alt=smile width=15 height=15>
    Regards,
    Rudi

Posting Permissions

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