|
-
Jun 16th, 2003, 06:57 PM
#1
Thread Starter
Hyperactive Member
Protect my code ? [Resolved]
Now that I have gone to all this work....
In VBA, is there a way to secure the code so someone cant get to it..?
I have protected the worksheets, etc. but I want to keep the users from getting to the code....
is this possible ?
Last edited by VB4fun; Jun 17th, 2003 at 10:36 AM.
-
Jun 17th, 2003, 05:39 AM
#2
Lively Member
-
Jun 17th, 2003, 10:35 AM
#3
Thread Starter
Hyperactive Member
After looking at my post, I wasnt clear..
I am working in Excel. While I tried the compile, it did not seem to do much (not like VB anyway).
But I did go into Project Properties, and clicked on the Protection tab, which allowed me to set passwords. While this isnt exactly what I was looking for, it will help me accomplish what I wanted.
Thanks for the post, you definately helped !
-
Jun 18th, 2003, 01:21 PM
#4
Hyperactive Member
well, he meant compile the database into a .mde file (by doing this, your code is no longer in the db..... its actually compiled)
-
Jun 18th, 2003, 04:11 PM
#5
Thread Starter
Hyperactive Member
At the risk of sounding like a complete idiot here, I have to ask a question.
I have tried using the compile feature, within VBA, within the Project IDE. And it doesnt seem to do much. When I open the worksheet and go to Tools, Macro, Visual Basic Editor, I can still get to the code (when I remove the password mentioned above.)
I dont seem to find a file, related to my project, which the XLS spreadsheet was compiled into.
You mention the "db" in your comment....
We are talking Excel here, and not Access....correct?
Or am I just not following what you guys are suggesting...?
-
Jun 24th, 2003, 08:29 AM
#6
Hyperactive Member
The guys are talking about Access and you are correct, in Access compiling the database into an MDE will remove the code accessibility. In excel the only way to protect your code is really to put a password on the module.. but Lord help you if you forget what it is..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|