VBA Excel - Hide All Columns But Column A

I need the VBA code that will hide all columns on the "Active" Sheet except for Column A, C and E.

Can anyone help?

CVGunxAsked:
Who is Participating?
 
mvidasConnect With a Mentor Commented:
CVG,

 ActiveSheet.Range("B:B,D:D,F:IV").EntireColumn.Hidden = True

Cheers!
Matt
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.