+ Reply to Thread
Results 1 to 2 of 2

Hiding/Unhiding Rows

  1. #1
    Registered User
    Join Date
    10-12-2012
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    27

    Hiding/Unhiding Rows

    Hi all,

    New to the forums, new to VBA, but not new to excel.

    I’ve done some research on VBA, and I understand the basics, but I am struggling – which is expected as I continue to learn.

    I’ve created a budget where I’m comparing actual numbers to budgeted numbers. I want to hide rows if the cell reveals a zero value. These cells are all formulae based (drawing data from another worksheet).

    So for example, if the formulae in column O and P results in a value of 0, I want that corresponding row to be hidden (and unhidden if not equal to 0). Any ideas on how I can do this?

    Also, how would I go about activating this macro? Is there any way for this macro to always be running, or is it best to be activated with the click of a shape/button?

    Thanks for any input,

  2. #2
    Registered User
    Join Date
    10-09-2012
    Location
    Maldives
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Hiding/Unhiding Rows

    I can say one thing logically it will work..
    First put one formula on speate column can count only the value > 0 , O ,P like [ =countif(range,">0") ] then put filter on that so wen filter is on you can always see not equal zero .. You can put filter filtering above zero by using macro just record one macro and do one time filter then stop macro so you can do that automatically ...

    Best of luck

+ 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