Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default adding password an hidden sheets

is it possible to give a password to an hidden sheet?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 142
Default adding password an hidden sheets

On Mar 19, 12:27 pm, "thread" wrote:
is it possible to give a password to an hidden sheet?


What is the goal? Password to protect sheet from changes? Or do you
just not want anyone looking at it at all?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default adding password an hidden sheets

1.i have sheets that i dont want anyone to see
2 i have sheet that only can be change by automation and
validation,beside this there is nothing that is suppose to br change
by a user
okrob כתב:
On Mar 19, 12:27 pm, "thread" wrote:
is it possible to give a password to an hidden sheet?


What is the goal? Password to protect sheet from changes? Or do you
just not want anyone looking at it at all?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 142
Default adding password an hidden sheets

On Mar 19, 5:06Â*pm, "thread" wrote:
1.i have sheets that i dont want anyone to see
2 i have sheet that only can be change by automation and
validation,beside this there is nothing that is suppose to br change
by a user
okrob כתב:



On Mar 19, 12:27 pm, "thread" wrote:
is it possible to give a password to an hidden sheet?


What is the goal? Â*Password to protect sheet from changes? Â*Or do you
just not want anyone looking at it at all?- Hide quoted text -


- Show quoted text -



You'll need to do the following for the sheets you want to protect and
hide.
I'm not sure how the sheet will react when it's protected and you try
to change it with validation etc... But you can always
programmatically unprotect it then re-protect it after changes.

Worksheets("Sheet1").Protect Password:="1234"
'Or whatever password you want. Substitute "Sheet1" with whatever
your sheet name is, or refer to it as Sheet1.Protect Password:="1234"

Worksheets("Sheet1").Visible = xlVeryHidden
'This hides the sheet so that it can only be accessed by
programmatically unhiding it with the line:
Worksheets("Sheet1").Visible = True

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default adding password an hidden sheets

thank you,that was very helpfull

okrob כתב:
On Mar 19, 5:06Â*pm, "thread" wrote:
1.i have sheets that i dont want anyone to see
2 i have sheet that only can be change by automation and
validation,beside this there is nothing that is suppose to br change
by a user
okrob כתב:



On Mar 19, 12:27 pm, "thread" wrote:
is it possible to give a password to an hidden sheet?


What is the goal? Â*Password to protect sheet from changes? Â*Or do you
just not want anyone looking at it at all?- Hide quoted text -


- Show quoted text -



You'll need to do the following for the sheets you want to protect and
hide.
I'm not sure how the sheet will react when it's protected and you try
to change it with validation etc... But you can always
programmatically unprotect it then re-protect it after changes.

Worksheets("Sheet1").Protect Password:="1234"
'Or whatever password you want. Substitute "Sheet1" with whatever
your sheet name is, or refer to it as Sheet1.Protect Password:="1234"

Worksheets("Sheet1").Visible = xlVeryHidden
'This hides the sheet so that it can only be accessed by
programmatically unhiding it with the line:
Worksheets("Sheet1").Visible = True




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
can hidden sheets be prevented from opening without a password? unclepablo54 Excel Worksheet Functions 2 November 13th 09 11:22 AM
How to password Protect when WORKSHEET is Very HIDDEN Invisible Excel Worksheet Functions 6 March 17th 09 04:32 PM
Password protect a hidden tab Dominic Excel Discussion (Misc queries) 2 March 23rd 06 09:23 PM
how can I password hidden columns David Allen New Users to Excel 1 March 19th 05 04:47 PM
Excel password but cant hide the sheets before entering password cakonopka[_3_] Excel Programming 1 January 30th 04 06:28 PM


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

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

About Us

"It's about Microsoft Excel"