Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default How to Prevent User from Unhiding Sheet


In the application I am developing (Excel 2000), it opens up to a login
sheet and hides all the other sheet.

Is there any way that I can prevent the user from going to Tools --
Sheet -- Unhide to open up the other sheets?

Thx!

- Bruce


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default How to Prevent User from Unhiding Sheet

Hi Bruce,

Make the sheet xlVeryHidden:

Worksheets("Sheet1").Visible=xlSheetVeryHidden

Note: you should protect your VBA project with a password as well. This
will help keep people from unhiding the sheet through the object properties.

Regards,

Jake Marx
MS MVP - Excel


"Bruce B" wrote in message
...

In the application I am developing (Excel 2000), it opens up to a login
sheet and hides all the other sheet.

Is there any way that I can prevent the user from going to Tools --
Sheet -- Unhide to open up the other sheets?

Thx!

- Bruce


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default How to Prevent User from Unhiding Sheet

Alt-F11to open VBE. Select the sheet. F4 to display Properties window.
Set Visible property to xlSheetVeryHidden. Protect the project.

HTH
Paul

-----------------------------------------

On Tue, 16 Sep 2003 13:26:51 -0700, Bruce B
wrote:


In the application I am developing (Excel 2000), it opens up to a login
sheet and hides all the other sheet.

Is there any way that I can prevent the user from going to Tools --
Sheet -- Unhide to open up the other sheets?

Thx!

- Bruce


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default How to Prevent User from Unhiding Sheet

The xlVeryHidden advice given so far is the best solution you have, but
beware that you should not assume it is foolproof. It is fairly trivial to
crack.

Robin Hammond
www.enhanceddatasystems.com
Check out our XspandXL add-in


"Bruce B" wrote in message
...

In the application I am developing (Excel 2000), it opens up to a login
sheet and hides all the other sheet.

Is there any way that I can prevent the user from going to Tools --
Sheet -- Unhide to open up the other sheets?

Thx!

- Bruce


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default How to Prevent User from Unhiding Sheet

Hi Bruce

I use xl97 but think this might work for you

Sheets("yoursheet").Visible = xlSheetVeryHidden

Tony.


Bruce B wrote in message
...

In the application I am developing (Excel 2000), it opens up to a login
sheet and hides all the other sheet.

Is there any way that I can prevent the user from going to Tools --
Sheet -- Unhide to open up the other sheets?

Thx!

- Bruce


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



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
Prevent unhiding columns EvvLittleGiant Excel Discussion (Misc queries) 1 June 16th 09 07:58 PM
Hiding Worksheets and Unhiding them easily for Novice User Jugglertwo Excel Discussion (Misc queries) 5 June 5th 07 02:53 PM
How do I prevent hidden rows from unhiding when resizing row ht? posdude Excel Discussion (Misc queries) 0 September 20th 06 05:18 PM
Prevent User to unlock Sheet Tabs Param Excel Worksheet Functions 2 March 23rd 06 01:45 AM
Unhiding a sheet Skint4sure Excel Discussion (Misc queries) 3 December 25th 04 10:27 PM


All times are GMT +1. The time now is 11:07 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"