Solved

Encrypt All VBA Modules

Posted on 2006-11-13
5
251 Views
Last Modified: 2012-08-14
This question is pretty self explanatory:

Is there anyway that I can secure all code in a global Word template by encrypting it?

I know that I can password protect my modules but $9.99 and the ability to read can circumvent mere password protection. Is there anyway that I can really secure my code by generating an encryption key which is used when sending/receiving data between a user template and a global template?

The points will go to the most sensible advice.
0
Comment
Question by:advlegals
  • 2
5 Comments
 
LVL 7

Accepted Solution

by:
gbahri earned 250 total points
Comment Utility
Hi advlegals,

To provide the highest level of security for your VBA code, use Microsoft VB (.Net) to create a Component Object Model (COM) add-in. Because the VBA code in a COM add-in is compiled as a dynamic-link library (DLL), it can't be modified without access to the source code used to originally create it.

To know more on encryption, pls refer:
http://www.microsoft.com/technet/prodtechnol/office/office2000/proddocs/opg/part4/ch17.mspx

Hope, this serves your purpose,

Thanks,

GBahri
0
 
LVL 7

Expert Comment

by:gbahri
Comment Utility
Solution given by me is reasonable.  It would be better if advlegals responds.

thanks,

GBahri
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
trailing spaces all columns 4 58
excel VBA sending mail 9 38
Excel totals by filter - Automated 4 31
outlook 2013 key shortcuts 28 37
Have you ever had the experience that you had to follow 10 steps over and over again every time when you need to nicely forward an important email to your manager? Fear no more! With the help of the Quick Steps feature in Outlook 2010, your old chor…
Article by: dandraka
There are several quick shortcuts that can make your life easier in Microsoft Programs.  These simple tips and tricks will your work more productive and you faster at completing your tasks! MS Word (1) Creating Re-usable Scraps You can create s…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now