It doesn't cause an error but it doesn't do anything. If you activate a
hidden sheet, it does not change the sheet to which ActiveSheet refers. On
balance, it is probably an unwise thing to do, but how unwise depends on
what your code expects after it does activate the sheet.
--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)
"Brian Murphy" <(E-Mail Removed)> wrote in message
news:b9370f7a-dd3d-4086-917a-(E-Mail Removed)...
> Hello everyone,
>
> I have a VBA routine in an addin that .Activates a hidden worksheet in
> the user's workbook.
>
> Is this an unwise thing to do?
>
> Thanks,
>
> Brian