+ Reply to Thread
Results 1 to 4 of 4

userform_active / _open help

  1. #1
    Registered User
    Join Date
    05-19-2010
    Location
    Luleå, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    3

    userform_active / _open help

    Hi.. Need help with something that should be easy..

    I want a sub to activate when i open my userform..

    Ive tried _open, _initilize,_ Activate but must be placing the code in the wrong place..

    I have a macro that looks like this

    Please Login or Register  to view this content.

    'In Menu1 "userform" ive added


    Please Login or Register  to view this content.
    But the box wont show.. where do i place the code or how do i write the sub to enable the code without click requirement.. (the end i want a lable to start changing when i start the userform but first i need to learn how to start without click)
    Last edited by twoben; 10-31-2011 at 05:35 AM. Reason: Had to

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: userform_active / _open help

    it should read like this, regardless of what you have called your userform. Rather than typing for events, select the object from the top of the window, then select the event

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-19-2010
    Location
    Luleå, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: userform_active / _open help

    Thanks for the quick solution...

  4. #4
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: userform_active / _open help

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

+ 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