+ Reply to Thread
Results 1 to 9 of 9

EXCEL 2003 - Password to open hidden sheet

  1. #1
    Registered User
    Join Date
    11-19-2013
    Location
    Liverpool, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    EXCEL 2003 - Password to open hidden sheet

    Please please help, I'm pulling my hair out.

    I need a script/formula or prayer to put a password on a hidden sheet before it opens.

    The hidden sheet is called "Totals"

    When I select FORMAT> SHEET > UNHIDE and then Totals, I want to enter a password before the Totals sheet is displayed.

    Please help me someone.

    Desperate

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: EXCEL 2003 - Password to open hidden sheet

    Easiest options are:
    -Protect the structure of the workbook with a password (tools->protect workbook and select structure)
    -Or set the sheet to veryhidden in the vb editor and protect the project

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: EXCEL 2003 - Password to open hidden sheet

    1 WAY.

    Use this macro to hide your sheet.

    Please Login or Register  to view this content.
    and this one to unhide it.
    Please Login or Register  to view this content.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    11-19-2013
    Location
    Liverpool, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: EXCEL 2003 - Password to open hidden sheet

    Thanks very much for the replies, but the sheet is still not password protected to view it. The sheet is Visible = 2 -xlSheetVeryHidden, I have copied the viewsheet into the code for that page and still no password option appears.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,440

    Re: EXCEL 2003 - Password to open hidden sheet

    That code would go in a standard module, not in the worksheet class module.

    Maybe post a mocked up sample workbook.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: EXCEL 2003 - Password to open hidden sheet

    Take a look to the example pls.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    11-19-2013
    Location
    Liverpool, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: EXCEL 2003 - Password to open hidden sheet

    I think I might have it now Thanks so much

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: EXCEL 2003 - Password to open hidden sheet

    You are welcome and thanks for the feedback.

    As that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED,as per Forum Rule #9. Thank you.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,440

    Re: EXCEL 2003 - Password to open hidden sheet

    Thanks for the rep

+ 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. [SOLVED] Need macro to open excel sheet that is password protected
    By sokker23 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-09-2013, 03:04 PM
  2. Removal of open password from excel 2003 file
    By Hafizzaheer in forum Excel General
    Replies: 3
    Last Post: 12-05-2012, 03:18 AM
  3. password hidden sheet
    By nieuwwerk in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-15-2010, 11:33 AM
  4. Hidden Sheet with Password
    By gabch in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2006, 12:01 PM
  5. [SOLVED] How can one open a protected excel sheet whose password is lost?
    By consultant in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-06-2005, 04:05 AM

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