Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hide sheets then password protect unhide

Status
Not open for further replies.

rrmcguire

Programmer
Oct 13, 2010
304
US
Hello,

I know you can hide sheets from being visible in Excel, but once that is done with VB is there a way to password protect the unhide option?
 


Hi,

There is hidden and there is very hidden values of the Sheet Visible property.

The xlSheetHidden value can be changed either by code or on the sheet.

The xlSheeetVeryHidden value can only be seen via code or in the VB Editor. It cannot be seen from the sheet and therefore, cannot be changed from the sheet.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
got this done, after this is done throuh a macro can you prevent access to the VB editor
 



The VB Editor has a password.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
BUT, just so you know, those passwords are not unbreakable by any means.

Gavin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top