+ Reply to Thread
Results 1 to 4 of 4

Hide columns if the cell in the last row = 0

  1. #1
    Forum Contributor
    Join Date
    06-19-2012
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    143

    Hide columns if the cell in the last row = 0

    Tester File.xlsx

    Hi there,

    I'm looking for a macro that will hide any columns that = 0 in the grand total row. This is not a static row, it moves up and down all the time, and this is where I'm running into problems.

    Thanks for any help you can give!

  2. #2
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Re: Hide columns if the cell in the last row = 0

    Something like attached?
    Attached Files Attached Files
    Last edited by coreytroy; 06-12-2013 at 06:29 PM.

  3. #3
    Forum Contributor
    Join Date
    06-19-2012
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    143

    Re: Hide columns if the cell in the last row = 0

    Tester File_2.xlsm

    I tried your macro, and it worked great for this file... but when I added more rows to it, it didn't work out very well at all

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

    Re: Hide columns if the cell in the last row = 0

    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)

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