+ Reply to Thread
Results 1 to 2 of 2

Hide Rows Automatically

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-30-2012
    Location
    Seattle, WA
    MS-Off Ver
    Office 2007
    Posts
    212

    Hide Rows Automatically

    I am trying to find a way to hide individual rows of data when I am done with them. I start with a list of data, and as I finish with each I would like to hide it. I was thinking a helper row with a filter (hide rows with an 'x' in the helper row) but it doesn't seem to update automatically. Is there a simple way to do this?
    "Laugh? I thought I'd die!"

    Jimbo?

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Hide Rows Automatically

    Hello

    One way if you're happy to use VBA, then the following code on a Button click would hide all rows in the specified range where column F as an 'x':

    Sub Button1_Click()
    Dim c As Range
    
    For Each c In Range("F2:F20")
        If c.Value = "x" Then
            Rows(c.Row & ":" & c.Row).EntireRow.Hidden = True
        End If
    Next c
    
    End Sub

+ 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 in Excel automatically
    By JohninNY in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-18-2015, 04:47 PM
  2. [SOLVED] hide rows automatically based on a value in that row
    By jimboryan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-22-2013, 05:13 AM
  3. Hide rows automatically
    By wwblade in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-07-2012, 06:30 PM
  4. Automatically Hide Rows
    By Owlsfan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-02-2008, 10:41 AM
  5. automatically hide rows with zero value
    By hfc21 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-23-2006, 03:40 PM
  6. Hide rows automatically
    By kim in forum Excel General
    Replies: 1
    Last Post: 09-14-2005, 10:05 AM
  7. How do I automatically hide rows
    By RobRoy in forum Excel General
    Replies: 8
    Last Post: 02-02-2005, 10:06 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