Hi,
There is no need for all that code.
Generally, as soon as you start to repeat yourself (more or less) you should set up a loop.
Specifically as in your example the code can be even more simplified.
Test the following two lines in the Immediate Window in the VBA Editor:
range("A7:A101").SpecialCells(xlCellTypeBlanks).EntireRow.Hidden = True
' print here
range("A7:A101").EntireRow.Hidden = False
The first line will hide all rows where the cell in column A is empty. The second line will unhide all rows.
To run the code on multiple worksheets, set up a loop that references the worksheets, one by one, by name or number.
HTH
Anders Silven