Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Password Protecting Sheets

Hello,

Is there a way I can password to protect a sheet so that before it can be
viewed a password has to be entered? I don't want to hide the tab and I have
already locked it (so the data can't be edited). I would like to protect the
viewing of the tab- I cant think of a way to do this using the normal excel
functions so VBA must be the answer. Can any one shed any light?

Cheers.

Richard
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Password Protecting Sheets

I dont know of any way to stop a visible sheet from being viewed...I mean
when the visible property is true, then thats saying show the worksheet to
the user.

Now if you want to force it then possibly....

In VBA, what I would try is write some code for the sheet's activation. You
can save the sheet filled with a color, and then based upon activation code,
to unfill that color. You would also have to write a deactivation code to
fill it back also of course.

"VoxBox-Richard" wrote:

Hello,

Is there a way I can password to protect a sheet so that before it can be
viewed a password has to be entered? I don't want to hide the tab and I have
already locked it (so the data can't be edited). I would like to protect the
viewing of the tab- I cant think of a way to do this using the normal excel
functions so VBA must be the answer. Can any one shed any light?

Cheers.

Richard

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
Password protecting sheets in a workbook Les[_2_] Excel Worksheet Functions 4 February 24th 07 06:38 PM
Password Protecting Sheets in Excel So Others Can't See Certain Sh _ian2006_ Excel Worksheet Functions 3 February 23rd 06 05:38 PM
Password protecting sheets through VBA Eithne R[_2_] Excel Programming 2 September 26th 05 10:43 PM
Protecting buttons with VB code rather than protecting sheets/books? StargateFanFromWork Excel Programming 2 July 16th 04 04:03 PM
Protecting Multiple sheets with prompt for password to unprotect pkley Excel Programming 1 January 10th 04 06:46 AM


All times are GMT +1. The time now is 04:28 AM.

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"