johannes2008
New Member
- Joined
- Aug 20, 2010
- Messages
- 42
- Office Version
- 365
- Platform
- Windows
Hello
I am trying to create a button that hides/unhides multiple columns that are not adjacent (ie col A, X, AB,BX). My plan is to assign all the columns to a variable and then use an if/else statement for hide/unhide but I don't know how to assign multiple ranges to a variable. Is my plan workable, if not what do you suggest?
Thanks
I am trying to create a button that hides/unhides multiple columns that are not adjacent (ie col A, X, AB,BX). My plan is to assign all the columns to a variable and then use an if/else statement for hide/unhide but I don't know how to assign multiple ranges to a variable. Is my plan workable, if not what do you suggest?
Thanks