Protect my macro code

Joined
Jun 3, 2009
Messages
1
Reaction score
0
Hi,
I would like to protect my macros codes by a macro - after a certain time.
I know I can protect it before, but I want to do it after a certain time...
The reason is when the user clicks on a button, so the document is finalised and it's ready to be sent to an external client.

I tried to delete the macros, but when I write the code, my anti virus dects a virus and it will not work!
Here is what I've put:
Application.OrganizerDelete Source:=ActiveDocument.FullName _
, Name:="AutoClose", Object:=wdOrganizerObjectProjectItems

Any ideas what / how to do?

Thanks,

Fred
 
Last edited:
Back
Top