Need to hide columns in a different sheet when a checkbox is checked.

Pavan Narreddy 0 Reputation points
2023-09-15T05:21:53.95+00:00

Team,

I am new to excel VBA coding, Could you please help me in this.

My requirement is, In sheet1, I have a multiple check-box, with values IBM, HPM,UNY,ASM, When I tick check-box IBM, the columns with names HPM,UNY,ASM in Sheet2 has to be hidden and only IBM Column has to be visible.

Similarly when I tick multiple check-boxes, example, IBM and HPM, Columns UNY,ASM are to be hidden and only IBM and HPM columns are to be visible in sheet2 and this shoul happend for all possible scenarios. Please help me.

Thank you in Advance

Pavan

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
5,770 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.