+ Reply to Thread
Results 1 to 3 of 3

Script to hide rows when a cell has an empty value

  1. #1
    Registered User
    Join Date
    02-21-2017
    Location
    NY,NY
    MS-Off Ver
    2013
    Posts
    13

    Script to hide rows when a cell has an empty value

    Title pretty much explains it.

    If i have 30 rows and 14 of the 30 have values (16 blank rows) i want a script that hides the blank rows.

    Any ideas?

  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: Script to hide rows when a cell has an empty value

    Assuming we can use a single column to decide if a row should be kept visible or not, let's use column C:
    Please Login or Register  to view this content.
    _________________
    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!)

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Script to hide rows when a cell has an empty value

    Another:

    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)

Similar Threads

  1. [SOLVED] VBA Script to Delete empty rows
    By Metrazal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2016, 02:34 PM
  2. Hide rows if the cell is empty
    By juliettelam in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-24-2014, 12:38 PM
  3. [SOLVED] Hide - Un Hide rows with empty columns
    By BDF in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 04-14-2014, 02:09 PM
  4. Hide rows with empty cell VBA
    By xcallyx in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-24-2013, 10:43 AM
  5. Hide rows if cell in Column E is empty
    By annemsauro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-13-2013, 02:27 PM
  6. Hide/Unhide a range of rows when cell is empty
    By chuck edwards in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-10-2012, 04:25 PM
  7. [SOLVED] simple code hide/show rows with cell = empty, set value or any val
    By ivory_kitten in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-17-2006, 09:30 PM

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