A
Andy
Hi,
I'm writing a For Next procedure that would loop through a
collection of password protected worksheets, uprotect each
and do something. However, the code would fail if some
worksheets are grouped.
Please can someone provide me with the code needed to
detect the existence of grouped worksheets and then
ungroup them.
I have failed to find anything that seems to work from the
online help such as hasarray etc.
Thanks
I'm writing a For Next procedure that would loop through a
collection of password protected worksheets, uprotect each
and do something. However, the code would fail if some
worksheets are grouped.
Please can someone provide me with the code needed to
detect the existence of grouped worksheets and then
ungroup them.
I have failed to find anything that seems to work from the
online help such as hasarray etc.
Thanks