Solved

Encrypt All VBA Modules

Posted on 2006-11-13
5
267 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
[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
5 Comments
 
LVL 7

Accepted Solution

by:
gbahri earned 250 total points
ID: 17993565
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
ID: 18392914
Solution given by me is reasonable.  It would be better if advlegals responds.

thanks,

GBahri
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

628 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