VBA- hide empty rows

Kazdima

Board Regular
Joined
Oct 15, 2010
Messages
226
Hello,


I am preparing Financial statements for many projects using the same pro-forma template on monthly basis (12 columns) and about 150 rows.
For some projects all rows will have numbers, for some projects may be 70% of rows are empty.

Is it possible to have a macro to hide empty rows that do not go manually to hide them?
Thank you.
Dan
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Are the "Projects" in separate worksheets?

How do you define an empty row?
- the row has no values in any columns?
- the row has no values in columns C:Z (define your columns)
 
Upvote 0
Hello Yongle,

"Empty row"= means- there is now numbers (amounts in it), including "zero".
Yes, The row does not have values in any columns.
The row does not have values in rows D:S

Thank you
 
Upvote 0

Forum statistics

Threads
1,215,409
Messages
6,124,737
Members
449,185
Latest member
hopkinsr

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top