Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 122
Default preventing access to hidden worksheets

I have hidden worksheets on my program. How can I prevent someone from
unhiding a worksheet? I know how to protect the worksheet from changes but
there are certain worksheets I want to keep from others eyes.
Thanks
Glenn
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default preventing access to hidden worksheets

You can protect the workbook's structure.

This'll stop the user from inserting/deleting/renaming/moving sheets.

In xl2003, you can find it under:
Tools|Protection|protect workbook|Check Structure

Leave Windows unchecked.

Give it a memorable password. But be aware that this password is easily broken
by anyone who really wants to.

Glenn wrote:

I have hidden worksheets on my program. How can I prevent someone from
unhiding a worksheet? I know how to protect the worksheet from changes but
there are certain worksheets I want to keep from others eyes.
Thanks
Glenn


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 245
Default preventing access to hidden worksheets

Set the worksheets property to xlVeryHidden the user will not be able to
unhide them unless they are in vba which you can password protect. or use
something like

ActiveWorkbook.Worksheets(3)= (xlVeryHidden)

"Glenn" wrote:

I have hidden worksheets on my program. How can I prevent someone from
unhiding a worksheet? I know how to protect the worksheet from changes but
there are certain worksheets I want to keep from others eyes.
Thanks
Glenn

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 245
Default preventing access to hidden worksheets

ActiveWorkbook.Worksheets(3).Visible = (xlVeryHidden)

"Office_Novice" wrote:

Set the worksheets property to xlVeryHidden the user will not be able to
unhide them unless they are in vba which you can password protect. or use
something like

ActiveWorkbook.Worksheets(3)= (xlVeryHidden)

"Glenn" wrote:

I have hidden worksheets on my program. How can I prevent someone from
unhiding a worksheet? I know how to protect the worksheet from changes but
there are certain worksheets I want to keep from others eyes.
Thanks
Glenn

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Preventing other users from opening hidden worksheets pjk@boro Excel Discussion (Misc queries) 3 May 31st 08 12:25 AM
PREVENTING ACCESS TO A HIDDEN COLUMN Pat Excel Discussion (Misc queries) 2 March 26th 08 09:15 PM
Linked Spreadsheets - Preventing Access to Source Sheet [email protected] Excel Discussion (Misc queries) 1 March 16th 07 02:29 PM
How do I detect hidden worksheets or hidden data on a worksheet? Alice Excel Discussion (Misc queries) 4 August 24th 06 03:38 AM
Preventing User Access to VB code halem2[_13_] Excel Programming 2 August 23rd 04 10:57 PM


All times are GMT +1. The time now is 12:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"