|
INTERVIEW QUESTIONS
MICROSOFT OFFICE
MICROSOFT EXCEL
DETAILS
Question: How can I prevent others from viewing or changing my VBA code?
Answer: If you use Excel 97 or later... Activate the VB Editor and select your project in the Projects window. Then choose Tools - xxxx Properties (where xxxx corresponds to your Project name). In the Project Properties dialog box, click the Protection tab. Place a checkmark next to Lock project for viewing, and enter a password (twice). Click OK, then save your file. When the file is closed and then re-opened, a password will be required to view or modify the code.
|
|
|
Category |
Microsoft Excel Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 7622 users |
Added on |
9/24/2012 5:18:34 AM |
Views |
73873 |
Rate it! |
|
|
Question:
How can I prevent others from viewing or changing my VBA code?
Answer:
If you use Excel 97 or later... Activate the VB Editor and select your project in the Projects window. Then choose Tools - xxxx Properties (where xxxx corresponds to your Project name). In the Project Properties dialog box, click the Protection tab. Place a checkmark next to Lock project for viewing, and enter a password (twice). Click OK, then save your file. When the file is closed and then re-opened, a password will be required to view or modify the code. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How can I distribute a workbook such that it can't be copied?
|
View Answer
|
|
How can I prevent a user for adding or deleting sheets?
|
View Answer
|
|
If I require a password to open my workbook, is it secure?
|
View Answer
|
|
The Save Options dialog box (described above) also has a "Password to modify" field. What's that for?
|
View Answer
|
|
How can I save a workbook so a password is required to open it?
|
View Answer
|
|
What types of workbook protection are available?
|
View Answer
|
|
Can I prevent someone from copying the cells in my worksheet and pasting them to a new worksheet?
|
View Answer
|
|
How can I hide a worksheet so it can't be unhidden?
|
View Answer
|
|
OK, I protected my worksheet with a password. Now I can't remember the password I used.
|
View Answer
|
|
Are there any other reasons to protect a worksheet?
|
View Answer
|
|
So are you saying that protecting a worksheet is pointless?
|
View Answer
|
|
If I protect my worksheet with a password, is it really secure?
|
View Answer
|
|
Can I set things up so my VBA macro can make changes to Locked cells on a protected sheet?
|
View Answer
|
|
How can I find out more about the new protection options available in Excel 2002?
|
View Answer
|
|
Can I lock cells such that only specific users can modify them?
|
View Answer
|
|
Why aren't these options available in earlier versions of Excel?
|
View Answer
|
|
Why aren't these options available in earlier versions of Excel?
|
View Answer
|
|
Why aren't these options available in earlier versions of Excel?
|
View Answer
|
|
How is worksheet protection different in Excel 2002?
|
View Answer
|
|
I protected my worksheet, but now I can't even do simple things like sorting a range. What's wrong?
|
View Answer
|