Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50117

Macro to automatically hide rows that are empty

$
0
0
Hi there,

I'm trying to get my spreadsheet so that rows are hidden on one of my worksheets when the array formula produces no result (i.e. the cell is empty). Can anyone help?

Here is my current spreadsheet:
yearly summary test2.xls

On the worksheet tab "Yearly Summary" I'm trying to get it so that rows: 5-24, 28-47, 51-70, 74-93, all hide when the array formula in there produces nothing. Can anyone help?

Hopefully then the idea is that printing the page doesn't print the hidden rows.

Thanks for any help!!

Viewing all articles
Browse latest Browse all 50117