Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

how can i hide a macro

Status
Not open for further replies.

spring456

Civil/Environmental
May 30, 2001
2
how can i hide a macro in microsoft excl sp any one cant see it or modify it?
and how can i protect a sheet so anyone cant change it.
thanks alot.
 
Replies continue below

Recommended for you

Macros
In the Visual Basic Editor, programmers can protect macros so that they can't be viewed or changed by users. Programmers can protect macros by using the Protection tab of the Project Properties dialog box in the Visual Basic Editor (Tools menu, Project Properties command). For more information, see Visual Basic Editor Help.

Assuming you have access to Excel 2000, use the visual basic editor help to look up the following topics;
-Protect workbooks and worksheets from changes
-About protecting workbooks and worksheets from changes



 
Simple, select the cells to be protected,
use format->cells->protection->locked/hidden
then use tools->protection->protect sheet->password,
this will protect the cell formulas from accidental
erasure or changes by others.

For protection of macros, in the visual basic editor,
use tools->VBAproject properties->protection->tick lock project for view/password. This will protect the macros.


Narendranath R
narenr@narendranath.itgo.com
Pipeline engineering is made easy with state of the art computer software, visit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor