+ Reply to Thread
Results 1 to 2 of 2

VBA to hide rows based on cell value

  1. #1
    Registered User
    Join Date
    03-25-2014
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    13

    VBA to hide rows based on cell value

    Hi,

    I have a worksheet that has approx 300 rows of Data. In row M, i have a formula that returns either "Hide Needed" or "No Hide Needed" based on a range of critera.

    I'm looking for VBA code to hide all cells with Hide Needed in column M for each row after row 12.

    Could someone please tell me how i can do this?

    Thanks,
    Jace

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: VBA to hide rows based on cell value

    1) Highlight row 11
    2) Turn on the Data > Filter
    3) Filter column M for "No Hide Needed"
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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 Rows based on Cell Value
    By klunker in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-26-2014, 10:48 AM
  2. Hide Rows based on cell value
    By mjg060468 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-07-2014, 12:28 PM
  3. [SOLVED] First unhide all rows - then hide rows based on specific cell value for a range of cells
    By robbiekh in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-22-2013, 05:46 PM
  4. [SOLVED] Hide Rows based on Cell Value
    By nogoodnames in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-21-2012, 05:39 PM
  5. [SOLVED] hide rows based on value in cell
    By dummster in forum Excel General
    Replies: 0
    Last Post: 02-15-2006, 11:30 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