ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   hiding columns automatically (https://www.excelbanter.com/excel-discussion-misc-queries/10990-hiding-columns-automatically.html)

dave glynn

hiding columns automatically
 
I have a number of columns on a spreadsheet that need not be viewed or
printed if a given field within that range is zero. I am lloking for syntax
that will automatically hide (say) columns a to f where the value in (say)
c20 is less than 1?

I have macro that closes the columns if I select them manually but given
volumes need to do this automatically.

Any ideas


Thanks


All times are GMT +1. The time now is 04:47 PM.

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