Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Richard Torres   on Oct 30 In MS Office Category.

  
Question Answered By: Mandy Harvey   on Oct 30

It's actually very simple.
If you want your password  to be something like: "CreativePassword"
then use:

ActiveWorkbook.Sheets("Current Database").Protect "CreativePassword"
ActiveWorkbook.Sheets("Current Database").UnProtect "CreativePassword"

Remember, that you should also password protect  your vba  module
so that users can't look at the module to determine the password!

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Protect worksheets Or get search suggestion and latest updates.


Tagged: