View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Param
 
Posts: n/a
Default Prevent User to unlock Sheet Tabs

hi, thanks for tips.
Q: how to apply/use op1?

"Héctor Miguel" wrote:

hi, Param !

I have create data using several worksheets. Each one link with password (macro).
I uncheck sheet tabs (thur option command).
User have to enter password to preview or access to the worksheet.
But user still can access to worksheet after they check sheet tabs using option command
(they can see all sheet tabs at bottom. any idea how to solve this problem?


[just guessing]... if you are already using macros... how about... ?

op1: keep your worksheets xlSheetVeryHidden and show them once password-approved
op2: disable the options commandbarbutton while your workbook is 'active'
op3: use the workbook_sheet... level events
[maybe others like OnTime procedures - see Chip Pearson's page for an example]...

you can re/handle the sheets tabs option in your code
[and you will need somewhen and somehow to hide again the authorized worksheet]

[just guessing]... hth,
hector.