PC Review


Reply
Thread Tools Rate Thread

adding password an hidden sheets

 
 
thread
Guest
Posts: n/a
 
      19th Mar 2007
is it possible to give a password to an hidden sheet?

 
Reply With Quote
 
 
 
 
okrob
Guest
Posts: n/a
 
      19th Mar 2007
On Mar 19, 12:27 pm, "thread" <yaniv...@gmail.com> 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?

 
Reply With Quote
 
thread
Guest
Posts: n/a
 
      19th Mar 2007
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" <yaniv...@gmail.com> 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?


 
Reply With Quote
 
okrob
Guest
Posts: n/a
 
      20th Mar 2007
On Mar 19, 5:06Â*pm, "thread" <yaniv...@gmail.com> 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" <yaniv...@gmail.com> 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 With Quote
 
thread
Guest
Posts: n/a
 
      20th Mar 2007
thank you,that was very helpfull

okrob כתב:
> On Mar 19, 5:06Â*pm, "thread" <yaniv...@gmail.com> 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" <yaniv...@gmail.com> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
can hidden sheets be prevented from opening without a password? unclepablo54 Microsoft Excel Worksheet Functions 2 13th Nov 2009 11:22 AM
Hidden sheets Heera Microsoft Excel Programming 2 11th Mar 2009 03:57 PM
Hidden Sheets QUESTION-MARK Microsoft Excel Worksheet Functions 4 19th May 2006 07:06 PM
"With Sheets" Issue - macro on one sheet to affect hidden rows on other sheets Punsterr Microsoft Excel Programming 3 21st Feb 2006 04:01 AM
Hidden sheets FGOMEZ Microsoft Excel Discussion 4 14th Jun 2005 10:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:12 AM.