Hi, Can you please help me with this code?
Hide specified columns:
1. Click a button in excel
2. Message prompt will pop up “Which columns do you want to hide?” with a text box to type in the answer
3. User types in a range of consecutive columns (ex: A:C). Clicks OK.
4. The specified columns are hidden and a message box pops up to say “Done!”
5. If user clicks the button again and enters the same range or subset of the range (which is already hidden), another message box will pop up to say 6. “It’s already hidden!” However, if it is an overlapping range (ex: C:E, where col C is already hidden), only the unhidden part of the range will be hidden (ex: D:E).
Thanks in advance.
Bookmarks