+ Reply to Thread
Results 1 to 5 of 5

How to Hide-Unhide Row Based on a Cell Value

  1. #1
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    How to Hide-Unhide Row Based on a Cell Value

    Please, help me. I want to hide the rows if the value less than "4", and unhide the rows if the value "4". To change the value, I use another cell value.Hide-Unhide-Rows.xlsx

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: How to Hide-Unhide Row Based on a Cell Value

    Hi, try:
    Please Login or Register  to view this content.
    Regards, berlan

  3. #3
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    Re: How to Hide-Unhide Row Based on a Cell Value

    Sorry, I tried the code but did not work

  4. #4
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: How to Hide-Unhide Row Based on a Cell Value

    Berlan's code should work fine, but you have to manually trigger sub.
    Put this in your worksheet code for automated results. Works fine on your sample sheet:

    Please Login or Register  to view this content.
    Please click the * if this helps
    Please click the * below if this helps

  5. #5
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    Re: How to Hide-Unhide Row Based on a Cell Value

    I'm sorry Berlan & JasperD, I have tried the codes but didn't work. Would you like to apply it on the file and upload it?

+ 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 columns based on the value of the cell help!
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-11-2014, 09:03 PM
  3. [SOLVED] Unhide and Hide row(s) based on value in a cell in the row above
    By jammi1710 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-18-2014, 01:27 AM
  4. Unhide / Hide Rows Based on Cell Value
    By bradaresnick in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 03-02-2010, 10:02 AM
  5. Hide or Unhide Column Based on Cell Value
    By ChrisR in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-31-2006, 06:10 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