+ Reply to Thread
Results 1 to 2 of 2

Hide rows based on a cell in another sheet of the same file

  1. #1
    Registered User
    Join Date
    09-25-2023
    Location
    Chennai, India
    MS-Off Ver
    365
    Posts
    20

    Hide rows based on a cell in another sheet of the same file

    Hello All,

    I need a VBA. For instance, If cell "A1" in sheet1 is "1", i want to hide rows 9 to 24 in sheet2, else if cell "A1" in sheet 1 is "2", i want to hide rows 11 to 24 in sheet2, else i don't wanna hide anything at all.

    Please help , thanks in advance
    Last edited by 6StringJazzer; 10-11-2023 at 09:35 AM. Reason: Moved from Excel General

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: Hide rows based on a cell in another sheet of the same file

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by protonLeah; 10-13-2023 at 10:04 PM. Reason: corrected mistake to unhide all rows
    Ben Van Johnson

+ 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 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
  2. 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
  3. Hide Rows/Hide Columns Based on Value in Cell
    By brickwall823 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2015, 02:42 PM
  4. Replies: 2
    Last Post: 09-22-2014, 12:52 PM
  5. Hide Rows on one Sheet based on cells in another sheet being empty
    By KDF in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-15-2013, 01:48 PM
  6. Replies: 4
    Last Post: 07-24-2012, 07:09 AM
  7. Hide rows based on cell info in another sheet
    By holst3n in forum Excel General
    Replies: 0
    Last Post: 01-19-2005, 09:53 AM

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