+ Reply to Thread
Results 1 to 2 of 2

How to hide rows based on whether cell in previous row is blank

  1. #1
    Registered User
    Join Date
    05-04-2012
    Location
    USA
    MS-Off Ver
    excel 2010
    Posts
    25

    How to hide rows based on whether cell in previous row is blank

    I have a worksheet that I use to record client information. On this sheet are several tables that I use to store data in. Currently each table is 10 rows high. What I would like to do is hide all emptry rows except the row below the last row with data. So for example, I store data in cells B37:J37 and I would like row 38 to show, but rows 39-45 to remain hidden.

    Is there a way of doing this in VBA? I've posted a sample of my spreadsheet in case anyone cares to take a look.

    Thank you.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    12-28-2011
    Location
    Here
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: How to hide rows based on whether cell in previous row is blank

    There is a way to do this in VBA that I know, but it would be based off of a "case" or some value input where the rows can be hidden or not.

    so, for example
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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