+ Reply to Thread
Results 1 to 7 of 7

hiding rows based on a value in a column

  1. #1
    Forum Contributor
    Join Date
    11-22-2006
    MS-Off Ver
    2010
    Posts
    201

    hiding rows based on a value in a column

    Hello everyone,

    I have a spreadsheet with data in the range D16:G1500

    Please how would I write a macro that looks at the value in column D in reach row of the range and if the value is blank "" then it hides the row?
    I dont want to use a worksheet change as the data is arranged in a pivot-table and I would like to make selections from the pivot table and then set the macro to hide the rows without data in column D.

    Thank you very much, Lucy

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Question

    Hi,

    why not just using an easy filter so without the need of any code ?

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: hiding rows based on a value in a column

    @tinkerbelle

    Administrative note
    Please update your profile as necessary to properly reflect the exact version(s) of Excel your question relates to. Members tailor answers based on your Excel version. Your profile does not indicate your version.
    Thanks

  4. #4
    Forum Contributor
    Join Date
    11-22-2006
    MS-Off Ver
    2010
    Posts
    201

    Re: hiding rows based on a value in a column

    Hi I am on Excel 2010. I will update my profile.

  5. #5
    Forum Contributor
    Join Date
    11-22-2006
    MS-Off Ver
    2010
    Posts
    201

    Re: hiding rows based on a value in a column

    Help appreciated, thanks

  6. #6
    Forum Expert nigelog's Avatar
    Join Date
    12-14-2007
    Location
    Cork, Ireland
    MS-Off Ver
    Office 365 Windows 10
    Posts
    2,286

    Re: hiding rows based on a value in a column

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    11-22-2006
    MS-Off Ver
    2010
    Posts
    201

    Re: hiding rows based on a value in a column

    Hi, thanks so much, this really helped.

+ 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] Hiding rows based on duplicate numbers in a particular column
    By zookeepertx in forum Excel General
    Replies: 3
    Last Post: 03-22-2017, 04:23 PM
  2. Hiding Rows based on the value in column A, starting at row 9
    By craig159753 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-15-2015, 02:09 PM
  3. [SOLVED] Help with hiding rows based on Column D values
    By Ellen 2Excel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-15-2014, 01:58 PM
  4. Un-Hiding and Hiding Columns based on Drop-Down Values in a Column.
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 10-30-2011, 09:24 AM
  5. Hiding rows based on a column value
    By Mark Hansen in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-09-2006, 01:40 PM
  6. [SOLVED] Hiding Rows in a Range based on column A value
    By tig in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-09-2006, 01:10 PM
  7. Replies: 2
    Last Post: 10-18-2005, 10:05 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