Solved

Hide the code to the End User in VBA through Excel

Posted on 2011-02-22
2
232 Views
Last Modified: 2012-05-11
I want the end user not to view my code for the VBA application that i have created in Excel.

He should not be able to view the code either through Developers tab as well

Please let me know the way it can be acheived.
0
Comment
Question by:srikanthv2322
2 Comments
 
LVL 24

Accepted Solution

by:
broomee9 earned 500 total points
ID: 34951961
You can password protect your code so that it can't be seen.

Go to the VBE by pressing Alt + F11, then right click on your module and select VBAProject Properties.  Then click the Protection tab and click the "Lock project for viewing" checkbox.  Enter a password and click OK.
0
 
LVL 24

Expert Comment

by:jimyX
ID: 34951969
Did you try:
Tools>VBA Project Properties>Protection
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question