Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50079

Hide/Unhide Sheets from a Master List

$
0
0
Hello all!

I have used this site quite a bit and have always been able to find something I could modify. I have never had to post a thread, but I seemed to have hit a wall this time.

I have been searching threads all week on hiding/unhiding sheets via checkboxes, but have failed to find a solution that fits what I am trying to accomplish. I have created a sheet called "Clients" where I keep a master list of client names. I have a macro that copies a profile template for each new entry to the Client sheet in column A and names the newly created profile sheet for that Client. So for every client listed in column A of my "Clients" sheet, I have a profile sheet named the same.

What I would like to do, is create a macro that checks all of column J on my "Clients" sheet. For everywhere that there is an "x" in column J it will hide the profile sheet of the Client named in column A of that same row.

Conversely, if I have deleted an "x" in column J, the macro will unhide the client named in column A of the same row.

Lastly, I would like to have a master toggle that when marked/activated will place an "x" in column J everywhere there is a value in column A. In other words it triggers all client profile pages to be hidden without having to mark column J for each client.

Need some help.

Thanks in advance!

Viewing all articles
Browse latest Browse all 50079

Trending Articles