Macro or Formula to Hide Rows and Col's

  • Thread starter Thread starter Frick
  • Start date Start date
F

Frick

Is there a formula or maco that will hide a row or col based on a cell in
that row or col when said cell =0?

Thanks.
 
try
for each c in selection
if c=0 then c.entirerow.hidden=true
next
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top