Hi all,
I stumbled over this thread http://www.mrexcel.com/forum/showthread.php?t=443881 when looking for a solution to my problem.
Mine is similar, but a bit more complicated.
I have a number of sheets in my workbook each containing 1 pivot table. Some sheets are hidden others are not. They are all password protected with the same password. They are all based on the same data in the workbook. What i want is to update them all. For that i need to remove the password protection and reinstate it when i've updated and finally hide the sheets that were hidden before and don't hide the ones that that weren't hidden before.
Private subs are no option because i do't want to approach the hidden pivot tables and therefore won't trigger the private sub (i guess at least).
Could any of you VBA-magicians give n00by a push in the right direction?
Thanks guys,
Karel ter Kuile
I stumbled over this thread http://www.mrexcel.com/forum/showthread.php?t=443881 when looking for a solution to my problem.
Mine is similar, but a bit more complicated.
I have a number of sheets in my workbook each containing 1 pivot table. Some sheets are hidden others are not. They are all password protected with the same password. They are all based on the same data in the workbook. What i want is to update them all. For that i need to remove the password protection and reinstate it when i've updated and finally hide the sheets that were hidden before and don't hide the ones that that weren't hidden before.
Private subs are no option because i do't want to approach the hidden pivot tables and therefore won't trigger the private sub (i guess at least).
Could any of you VBA-magicians give n00by a push in the right direction?
Thanks guys,
Karel ter Kuile