?
Solved

Hide the code to the End User in VBA through Excel

Posted on 2011-02-22
2
Medium Priority
?
237 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

764 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