ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Hiding rows (https://www.excelbanter.com/excel-programming/417481-hiding-rows.html)

dennis

Hiding rows
 
I am working in an Excel Report Generator (Excel 2000) setting up financial
statement templates. Is it possible to set a command or condition for each
row where if no data exists across several column cells (i.e. no activity in
current month or YearToDate or prior year's month or prior YTD), the row will
automatically be hidden when printing - row contains account description + 7
numeric cells, i.e. 8 columns? This is to avoid the printing of zero
accounts. Most accounting software with print set-ups offer this option.

Thanks

igorek

Hiding rows
 
Here is an idea for you. In your code put a sum formula that would add the
values of that specific row. Then, if the value of the sum is 0 then hide
entirerow.

Hope that helps


"Dennis" wrote:

I am working in an Excel Report Generator (Excel 2000) setting up financial
statement templates. Is it possible to set a command or condition for each
row where if no data exists across several column cells (i.e. no activity in
current month or YearToDate or prior year's month or prior YTD), the row will
automatically be hidden when printing - row contains account description + 7
numeric cells, i.e. 8 columns? This is to avoid the printing of zero
accounts. Most accounting software with print set-ups offer this option.

Thanks



All times are GMT +1. The time now is 03:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com