I have a calendar on excel that after a certain date the user protects it. I've set up a macro that hides and unhides a group of cells (a planner) for the calendar. This allows the staff to see the calendar with just the dates and not all the planner stuff.
With the sheet protected I get the err 1004.... Unable to set the hidden property of the range class.
I found one solution to add the unprotect and then reprotect to the macro.... however, I don't have the password, the user does.
The other solution I just thought of was to set a print area to print..... does this have to be contiguous cells or can it be say... 4-5 groupings of cells?
Thanks,
Dennis
With the sheet protected I get the err 1004.... Unable to set the hidden property of the range class.
I found one solution to add the unprotect and then reprotect to the macro.... however, I don't have the password, the user does.
The other solution I just thought of was to set a print area to print..... does this have to be contiguous cells or can it be say... 4-5 groupings of cells?
Thanks,
Dennis