A.
Select the sheets you want to hide.
Format|Sheet|Hide
But the user can use the same technique to unhide those sheets. You can protect
the workbook's structure so that no sheets can be
moved/deleted/inserted/hidden/shown via:
tools|Protection|protect workbook|Check Structure
But be aware that this password is easily broken. And really interested person
can find a way around it.
B.
There's not a real good way to do this. Any solution (that I would use) would
involve macros and macros can be disabled (and events can be disabled, too).
In fact, if you have information that is really private and shouldn't be seen by
others, then excel isn't the application you should use. But if you have to use
excel, then don't share the workbook with anyone you don't trust.
Hi Dave, thanks.
I have noticed in the past that a protected sheet does indeed have an impact
on formulae and code which try to access it. What I was looking for was
either:
a) a method of 'hiding' tabs which I don't want people to access. This would
mean the sheet could remain unlocked, thus allowing code etc to run without
problems,
b) Code to run when a tab is clicked which will ask for a password before
displaying the sheet. Again the sheet wouldn't need to be locked.
Any ideas?