+ Reply to Thread
Results 1 to 3 of 3

Hide/Unhide Sheet Based on Cell Value

  1. #1
    Registered User
    Join Date
    08-19-2020
    Location
    Bear, Delaware
    MS-Off Ver
    Office 365
    Posts
    4

    Hide/Unhide Sheet Based on Cell Value

    Hi,

    I have a multi-sheet workbook with data feeding throughout the workbook. I have two project managers, Jim and Rosemary both very particular and "have" to have their columns and rows set up in a particular way. I set up a drop down on the cover page (General Status) with Jim and Rosemary as the two selections. When the drop down is set to "Rosemary" I need the Rosemary sheet visible and the "Jim" sheet hidden and when "Jim" is selected in the drop down I need the Jim Sheet visible and the Rosemary Sheet Hidden.

    All I have been able to do is hide/unhide Rosemary But Jim's Sheet never goes away. I have included the workbook. FYI, Rosemary uses Acquisition Simple and Jim uses Acquisition Enter
    Please Login or Register  to view this content.

    Thanks in advance
    Last edited by pamacme; 02-01-2022 at 09:40 AM.

  2. #2
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,274

    Re: Hide/Unhide Sheet Based on Cell Value

    Please edit your first post and put the quoted code in CODE tags (select the code content and use the [#] icon). This is a requirement of this forum.

    If "Rosemary" is selected in H4, sheet "A. Simple" will be visible, when "Jim" is selected, sheet "A. Enter". In all other cases (a different user or an empty cell), both sheets will be hidden.
    Please Login or Register  to view this content.
    Artik

  3. #3
    Registered User
    Join Date
    08-19-2020
    Location
    Bear, Delaware
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Hide/Unhide Sheet Based on Cell Value

    Thank you for the quick reply. First, hopefully I made the changes regarding the CODE tags.
    Second, I tried the code you provided and I don't seem to get it to work. I put it in the General Status Object. I also tried putting it in a Module and neither worked.
    Any suggestions, or was I supposed to edit something?
    Thank you

+ 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. Hide/Unhide Sheet based on cell value
    By mmogharreban in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-17-2022, 06:28 PM
  2. [SOLVED] Hide / Unhide sheets based on the value of a cell next to a cell containing the sheet name
    By NesYo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-20-2020, 06:13 PM
  3. Hide or Unhide Rows on one sheet based on value entered in cell on another sheet
    By wfsteadman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-20-2016, 07:30 PM
  4. Hide/unhide rows based on cell value of another sheet
    By Vivek2705 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2016, 07:55 AM
  5. [SOLVED] Hide Unhide clomun based on cell value in another sheet
    By sameeru in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-15-2013, 04:42 AM
  6. [SOLVED] Hide / Unhide Row on a Sheet based on the Value of a Cell on Another Sheet
    By neslotna in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-15-2013, 12:23 PM
  7. [SOLVED] Hide/unhide sheet macro based on cell calculation
    By Greg Fisher in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-26-2005, 05:19 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