all drawings are with internal macro.
When I open one of them I have the AutoCAD message appears "Macros may containes virus..." Enable Macro?
If I want to open a big package of drawings with a VBA macro... I do not want this message. whatever my machine, I am working in drafting office.
The best way would be to integrate the command within the VBA macro to open the files.
how can I disable or enable alert message (vbExclamation) on AutoCAD 2013, directly within a VBA macro in AutoCAD?
Thanks in advance.
Having VBA code embedded in a drawing is bad practice these days,
With that said, you can disable the warning by
1. command "VBARUN", which bring up VBA Macro dialog box.
2. Click "Options..." button, which brings up "Options" dialog box.
3. Uncheck "Enable macro virus protection" check box, which is checked by default. You may want to reverse the change after doing the batch drawing processing/opening.
Norman Yuan
Thanks a lot norman but in my context I need to activate this feature temporary.