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 cowski 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
Joined
May 30, 2001
Messages
2
Location
EG
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.
 
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

Back
Top