+ Reply to Thread
Results 1 to 7 of 7

Automatically hide userform and open specific worksheet

  1. #1
    Registered User
    Join Date
    10-19-2020
    Location
    India
    MS-Off Ver
    2007
    Posts
    34

    Automatically hide userform and open specific worksheet

    Hi all

    i have a 6 Worksheet in one workbook

    i want to open Sheet3 from userform by clicking a Button.

    sheet should be visible and userform should hide.

    and rest of all sheet should be hide.

    please suggest

    Thanks in advance

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Automatically hide userform and open specific worksheet

    Maybe try this. You'll need to change the button name to suit yout workbook.
    Please Login or Register  to view this content.
    BSB

  3. #3
    Registered User
    Join Date
    10-19-2020
    Location
    India
    MS-Off Ver
    2007
    Posts
    34

    Re: Automatically hide userform and open specific worksheet

    Hi
    Thanks for ur response

    * When i click the Button Sheet will not show & other sheets are hidden ,

    when i click the button sheet will not show its in background ,directly it will go to the programme Vb page.

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Automatically hide userform and open specific worksheet

    Can you attach the workbook with the code so we can investigate the problem?

    BSB

  5. #5
    Registered User
    Join Date
    10-19-2020
    Location
    India
    MS-Off Ver
    2007
    Posts
    34

    Re: Automatically hide userform and open specific worksheet

    okay

    please Go through it
    Attached Files Attached Files

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Automatically hide userform and open specific worksheet

    Your sample workbook doesn't really help understand the problem

    In the real workbook how is the userform launched? Not via the VBA window I'm guessing.

    If I launch the form from a button on Sheet1 and then click the button on the form it all does what you said you wanted. All but Sheet3 are hidden and the form shows with no VBA window.

    BSB

  7. #7
    Registered User
    Join Date
    10-19-2020
    Location
    India
    MS-Off Ver
    2007
    Posts
    34

    Re: Automatically hide userform and open specific worksheet

    Okay
    i understood

    Thank u

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. automatically open UserForm hide excel in background
    By KOKOSEK in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-21-2020, 11:03 AM
  2. Hide workbook when open userform
    By yangyang88825 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-06-2014, 09:59 PM
  3. Activation of Userform Hide Worksheet and Closing Userform Activates Worksheet
    By Newmord in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-14-2014, 11:18 AM
  4. [SOLVED] Open userform and hide excel application
    By z-eighty2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2014, 11:21 AM
  5. [SOLVED] open worksheet based on month to specific sheet named after month and hide rest
    By ianmcw in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-23-2014, 10:19 PM
  6. Open userform and hide active workbook only
    By occhibei in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-22-2013, 04:55 PM
  7. Replies: 1
    Last Post: 09-02-2005, 03:05 PM

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