+ Reply to Thread
Results 1 to 6 of 6

Hide and Unhide one sheet

  1. #1
    Valued Forum Contributor
    Join Date
    01-11-2012
    Location
    Riyadh, K.S.A.
    MS-Off Ver
    Windows 11 with Excel 2013 & 2016
    Posts
    900

    Question Hide and Unhide one sheet

    Hello again,

    I am trying to hide one sheet and range of rows when it is not activate. Untill the password enter correct the rows should be hidden.

    but the script is giving error. Can some one help to fix this issue please.

    Copy of the fine as an sample is attached.

    Please Login or Register  to view this content.
    Last edited by hecgroups; 03-17-2012 at 01:30 PM. Reason: Updated file is attached below

  2. #2
    Valued Forum Contributor
    Join Date
    01-11-2012
    Location
    Riyadh, K.S.A.
    MS-Off Ver
    Windows 11 with Excel 2013 & 2016
    Posts
    900

    Re: Hide and Unhide one sheet

    Can someone help me please anyone

  3. #3
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Hide and Unhide one sheet

    hi,
    I am sorry, I think it's confusing for me, would you want to tell us what you are trying to achieve?
    when you open the workbook, what do you want to have?
    and who is "Call CreateMeniu"?
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  4. #4
    Valued Forum Contributor
    Join Date
    01-11-2012
    Location
    Riyadh, K.S.A.
    MS-Off Ver
    Windows 11 with Excel 2013 & 2016
    Posts
    900

    Re: Hide and Unhide one sheet

    Sorry just omit this call create menu.

    What i want here is the following.

    1. I want to restrict users to use the rows from 12 to 64. Only Admin who enter the password can view the rows.
    2. If the admin use the files then if he click the other sheets i.e.Data or Template the Sheet1 will hide the rows 12:64 and hide the sheet1.
    3. When the admin click on Loading macros to view rows he has to enter the password.

    Everything is going fine accept this hiding rows and hiding sheet1

    Updated file is attached for your reference.
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Hide and Unhide one sheet

    hi,
    try this...
    Please Login or Register  to view this content.

  6. #6
    Valued Forum Contributor
    Join Date
    01-11-2012
    Location
    Riyadh, K.S.A.
    MS-Off Ver
    Windows 11 with Excel 2013 & 2016
    Posts
    900

    Re: Hide and Unhide one sheet

    This is what i am trying to do but when i go back to the sheet the rows are viable which should not be.

+ 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