+ Reply to Thread
Results 1 to 6 of 6

Hide rows with 0 value in specific ranges

  1. #1
    Registered User
    Join Date
    08-13-2012
    Location
    canada
    MS-Off Ver
    Excel 2010
    Posts
    19

    Question Hide rows with 0 value in specific ranges

    Hello,

    I am trying to use this code:

    Please Login or Register  to view this content.
    to hide any rows that have a zero value on ranges E5:E49, E28:48, E52:E71, E75:E95, E100:E120 and E125:145.

    I thought didnt have to put the ranges in, but if i run this code, it hides everything, even the rows that have data in them.

    any suggestions?
    Last edited by persais; 08-16-2012 at 11:55 AM.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Code needs help

    persais,

    We can help you, but you'll need to do a couple things first. To begin with, you need to rename this thread to something more descriptive like "Hide rows with 0 value in specific ranges". Then you'll need to wrap your code in code tags. how to do these two things are described in the forum rules (link in my sig). Once that has been done, we can assist you with this request.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    08-13-2012
    Location
    canada
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Hide rows with 0 value in specific ranges

    Thanks for the help!

  4. #4
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Hide rows with 0 value in specific ranges

    persais,

    Thank you for making those changes Give this code a try:
    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Hide rows with 0 value in specific ranges

    -------------------
    Last edited by patel45; 08-16-2012 at 12:26 PM.

  6. #6
    Registered User
    Join Date
    08-13-2012
    Location
    canada
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Hide rows with 0 value in specific ranges

    Tiger!

    OH! You are my official hero... thank you soooooo much! You are wonderful!

+ 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