Hide / unhide column in VBA

  • Thread starter Thread starter Guest
  • Start date Start date
Hi Patrick

Sheets("sheet1").Columns("A:C").EntireColumn.Hidden = True

False to get them back
 
With Worksheets("Sheet1").Columns("A")
.Hidden = Not .Hidden
End With

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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