Phosphonothioic
Board Regular
- Joined
- Sep 27, 2009
- Messages
- 194
Problem:
- I need to select F:IF
- F remains visible
- The next four columns (G:J) need to be hidden
- K remains visible
- L:O need to be hidden
First cell unhidden, then four hidden, then unhidden, then four hidden...all the way through column IF.
I've tried recording a macro while doing this, but it won't function. I think there may be too many arguments in Range().Select or something.
Obviously, I'm a newbie to VBA, so help with the syntax here would be appreciated.
Thanks!
- I need to select F:IF
- F remains visible
- The next four columns (G:J) need to be hidden
- K remains visible
- L:O need to be hidden
First cell unhidden, then four hidden, then unhidden, then four hidden...all the way through column IF.
I've tried recording a macro while doing this, but it won't function. I think there may be too many arguments in Range().Select or something.
Obviously, I'm a newbie to VBA, so help with the syntax here would be appreciated.
Thanks!