Consulting

Results 1 to 2 of 2

Thread: Sleeper: User form help

  1. #1
    Moderator VBAX Master austenr's Avatar
    Joined
    Sep 2004
    Location
    Maine
    Posts
    2,033
    Location

    Sleeper: User form help

    I know I have seen this somewhere on the board before but I cannot find it. I have a user form. How do you get it to pop up when the file is first opened? Then the user can read it and proceed. Thanks in advance for everyones excellent help.

  2. #2
    VBAX Master TonyJollans's Avatar
    Joined
    May 2004
    Location
    Norfolk, England
    Posts
    2,291
    Location
    You need to put code to show it in the Workbook_Open event.

    In the VBE, open the ThisWorkbook module in the workbook. In the left dropdown at the top (where it says (General)), change it to Workbook and the default Open will be selected from the right dropdown and a Workbook_Open procedure will appear. Just code your UserForm.Show in there.
    Enjoy,
    Tony

    ---------------------------------------------------------------
    Give a man a fish and he'll eat for a day.
    Teach him how to fish and he'll sit in a boat and drink beer all day.

    I'm (slowly) building my own site: www.WordArticles.com

Posting Permissions

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