PDA

View Full Version : AutoLISP to Disable Macro Virus Protection



patrick.greg252789
2012-02-07, 03:03 AM
We have developed VBA macros that allow our users to change profiles without having to manually follow steps. However, because we need the macros to run at ACAD startup each user on starting ACAD gets the Macro Virus Protection warning dialog box (Macro.jpg attached). This presents the users with too many options and we do not want them to be making those kinds of decisions and getting it wrong.Is there a way that I can code in AutoLISP, to include in the ACAD.lsp file, that would be able to disable the Macro Virus Protection before the macros are attempted to be loaded?

Any help on this matter would be greatly appreciated!

irneb
2012-02-07, 11:10 AM
Have you thought of digitally signing your VBA macro?

ccowgill
2012-02-07, 01:25 PM
have you thought about rewriting your macro in VisualLisp so you dont need to worry about VBA?

irneb
2012-02-07, 01:53 PM
Actually +1 on that as well. Then you wouldn't need to install the VBA addon on newer acads.