+ Reply to Thread
Results 1 to 3 of 3

UserForms assistance Required

  1. #1
    Registered User
    Join Date
    05-01-2008
    Location
    Sheffield
    Posts
    47

    UserForms assistance Required

    Hi,

    Could someone please tell me how I get my UserForm2 to be dsiplayed everytime I select a tab? (apart from on opening workbook).

    Help is apprecaited.

    n.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486
    Quote Originally Posted by newbie13
    Hi,

    Could someone please tell me how I get my UserForm2 to be dsiplayed everytime I select a tab? (apart from on opening workbook).

    Help is apprecaited.

    n.
    Hi,
    You could use the worksheet activate event, this goes into the worksheet module
    Right click on the sheets tab and select view codes
    copy and paste this code there
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    Dave's suggestion is spot on. But, instead of entering that code into each sheets code, I'd use this code in the workbook code:

    Please Login or Register  to view this content.
    This could save a bit of time, especially if you have a number of sheets.

+ 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