Protecting code in macro

G

Gillian Donald

I have written a macro attached to a custom button. I have written this procedure for one of my clients

Is there anyway i can protect this code so that the client can't edit it or possibily steal it etc

Thanks in advance
 
G

Greg

I think what you want to do is get properties on your project/module and select the protection tab and create a password for it. This will not allow a user to view your code.

----- Gillian Donald wrote: ----

I have written a macro attached to a custom button. I have written this procedure for one of my clients

Is there anyway i can protect this code so that the client can't edit it or possibily steal it etc

Thanks in advance
 
S

Sue Mosher [MVP-Outlook]

Outlook VBA macro code is inherently unprotectable because it's for personal
use. The better solution would be to build a COM add-in for your client. See
http://www.outlookcode.com/d/comaddins.htm

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Gillian Donald said:
I have written a macro attached to a custom button. I have written this
procedure for one of my clients.
 
Top