Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Bamah Cohen   on Nov 03 In MS Office Category.

  
Question Answered By: Rosie Hughes   on Nov 03

When you say "form" do you MEAN "form" as in Userform
or do you have a worksheet that resembles a form?

if you're using a Userform,
use a TextBox for the entry.
In the Properties panel of the textbox, there is a Password Character property.
Put a "*" there.
You can create a Workbook_BeforeClose event,
or a Worksheet_Deactivate event, or both
that could be used to re-protect the sheet.
You might want to include it instead in a Workbook_BeforeSave event
so that the user cannot save it in an unprotected state.
Of course, if you're using a worksheet template instead of a UserForm,
we'll have to look closer at the change events.

Share: 

 

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

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


Tagged: