Solved

Hide the code to the End User in VBA through Excel

Posted on 2011-02-22
2
234 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

738 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