+ Reply to Thread
Results 1 to 5 of 5

Hide rows with cell value = 0

  1. #1
    Registered User
    Join Date
    07-10-2012
    Location
    Midland, TX
    MS-Off Ver
    Excel 2010
    Posts
    37

    Hide rows with cell value = 0

    I want to hide rows that have a cell value of zero. I am an extreme beginner with VBA.

  2. #2
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Hide rows with cell value = 0

    Hi could you be a little more specific. Where are we supposed to find the 0 values? It would be great if you could attach a copy of your workbook.

  3. #3
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Hide rows with cell value = 0

    For example this code will do what you are asking for if the empty cells are in column "A"

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    07-10-2012
    Location
    Midland, TX
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Hide rows with cell value = 0

    Here is the workbook I am using. The specific sheet is Bulk Plant Load-Out. I want the row to hide if the value in column b=0. I would also like a toggle button to unhide rows.
    Thanks for your help.
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Hide rows with cell value = 0

    Hi marine,

    See if this works for you. Here is the code I used.

    For the macro

    Please Login or Register  to view this content.
    For the Toggle button

    Please Login or Register  to view this content.
    And the attachment

    Surface - Proposal.xls

+ 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