tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,194
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi Everyone,
I need a fast VBA to hide all Columns Between B and AAZ that have "i" in row 1?
What im trying to do is have a macro that hides certain parts of my document when its not nesseccacary to see them, however the requirements are changing a lot so just listing the columns i want to hide means i have to keep editing the macro,
If i could have a macro that just hides them if they say "i" this would be great but if we try it with a loop it seams to take a long time as it hides each column one at a time, I'm happy to have extra things like a formula or whatever the best idea is i just want to be able to add or remove "I" from row 1 and that column be included in the hide.
any ideas would be welcomed
Thanks
Tony
I need a fast VBA to hide all Columns Between B and AAZ that have "i" in row 1?
What im trying to do is have a macro that hides certain parts of my document when its not nesseccacary to see them, however the requirements are changing a lot so just listing the columns i want to hide means i have to keep editing the macro,
If i could have a macro that just hides them if they say "i" this would be great but if we try it with a loop it seams to take a long time as it hides each column one at a time, I'm happy to have extra things like a formula or whatever the best idea is i just want to be able to add or remove "I" from row 1 and that column be included in the hide.
any ideas would be welcomed
Thanks
Tony