That is correct, if it doesn't have the SUM() formula, it would be blank, & I would like to have those rows hidden as well.
I will always have data in column A, that is one of the only constants on this particular spreadsheet, although the data that includes the totals starts in row 5, wth the headers in row 4. Generally, I would have everything unhidden to work on the sheet, I am looking for a quick way to hide the '0' & blank column totals only for printing purposes, but thanks for the heads up
I'm running the original macro you wrote, and it seems to go way past column CE (basically it's hiding every column after CE), and then there's an error code 400 that pops up in Microsoft Visual Basic
Below the 'Totals' row, I also have the SUM() formula totaling up smaller ranges of columns, starting in . If that's what's wrong, I can just set up the cell to add each column total individually if that's too difficult to calculate in.
Bookmarks