+ Reply to Thread
Results 1 to 4 of 4

NEED HELP PLEASE!! VBA code to xlSheetVeryHidden

  1. #1
    Registered User
    Join Date
    12-02-2011
    Location
    toronto, Canada
    MS-Off Ver
    Excel 2007
    Posts
    27

    NEED HELP PLEASE!! VBA code to xlSheetVeryHidden

    Hi all -

    I wrote code for a macro... it basically opens about 7 sheets, does it's thing, then hides the sheets again. I don't want the end user to have the ability to unhide the sheets, so I'm trying to use xlSheetVeryHidden. below is a snippet of the code, the rest doesn't really matter.... this section just hides the selected sheets.

    Sheets("Sheet1").Select
    Sheets("Sheet1").Visible = True
    Sheets("Sheet2").Visible = True
    Sheets("Sheet3").Visible = True
    Sheets("Sheet4").Visible = True
    Sheets("Sheet5").Visible = True
    Sheets("Sheet6").Visible = True

    I tried to replace the 'True' with 'xlSheetVeryHidden', but obviously got an error.

    Thanks in advance!!

  2. #2
    Forum Contributor
    Join Date
    10-16-2014
    Location
    Center Line, Michigan, United States
    MS-Off Ver
    MS Office 2013
    Posts
    139

    Re: NEED HELP PLEASE!! VBA code to xlSheetVeryHidden

    Please Login or Register  to view this content.
    Note: You can't make ALL sheets very hidden. You must leave one sheet visible.
    Last edited by Loganeb; 10-28-2014 at 09:25 PM.
    Please click the star (add rep) if I helped!

  3. #3
    Registered User
    Join Date
    12-02-2011
    Location
    toronto, Canada
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: NEED HELP PLEASE!! VBA code to xlSheetVeryHidden

    Quote Originally Posted by Loganeb View Post
    Please Login or Register  to view this content.
    Note: You can't make ALL sheets very hidden. You must leave one sheet visible.
    Thanks so much! worked perfectly! I can't believe I didn't see that.

  4. #4
    Forum Contributor
    Join Date
    10-16-2014
    Location
    Center Line, Michigan, United States
    MS-Off Ver
    MS Office 2013
    Posts
    139

    Re: NEED HELP PLEASE!! VBA code to xlSheetVeryHidden

    Not a problem!

    If you could, go to the top of the first post and mark this as "Solved" if your issue has been handled. Thanks!

+ 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. XlSheetVeryHidden code before close (Method Error)
    By ron2k_1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-10-2012, 12:27 PM
  2. Problems with XLSheetVeryHidden
    By alderran in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2007, 05:58 AM
  3. [SOLVED] worksheets xlSheetVeryHidden and show them once password-app
    By Param in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-26-2006, 09:00 PM
  4. Trouble with copy of xlSheetVeryHidden
    By Casey in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-14-2005, 10:05 PM
  5. Opeations on xlSheetVeryHidden worksheet
    By Frederick Chow in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-10-2005, 03:06 PM

Tags for this Thread

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