CorelDRAW Macro Security Settings Guide

CorelDRAW utilizes dedicated macro security settings to protect your system from potentially harmful automation code, Visual Basic for Applications (VBA) macros, and custom scripts. This guide details the specific macro security levels available in CorelDRAW, explains how each setting impacts script execution, and outlines how to configure these controls to balance productivity with digital safety.

Macro Security Levels in CorelDRAW

CorelDRAW relies on the underlying Microsoft VBA engine to govern script execution. Through the macro security interface, users can choose from four distinct execution policies:

  • Disable all macros without notification: This is the most restrictive setting. CorelDRAW automatically blocks all macros and scripts from running when a document opens, without alerting the user. Only built-in, pre-installed tools will function.
  • Disable all macros with notification: This is the recommended default setting. When a file containing macros or embedded automation is opened, CorelDRAW displays a security prompt asking whether you want to enable or disable the script. This gives you control on a file-by-file basis.
  • Disable all macros except digitally signed macros: Under this setting, macros will run only if they have been digitally signed by a trusted publisher. Any unsigned script is automatically disabled without prompting, while signed scripts from unknown publishers trigger an approval prompt.
  • Enable all macros (not recommended): This setting allows all scripts and VBA code to execute automatically without warning. It introduces significant security vulnerabilities by exposing your operating system to potentially malicious code embedded in unknown or downloaded CDR files.

Additional Scripting Controls

Beyond the standard execution levels, CorelDRAW provides secondary security controls to restrict unauthorized access:

  • Trust access to the VBA project object model: This option prevents external scripts or add-ins from programmatically modifying or generating new VBA code. Leaving this setting disabled blocks external malicious software from altering your installed macro libraries.
  • Trusted Locations: Users can designate specific local or network folders as safe directories. Any CorelDRAW file or macro stored within these defined folders will run automatically, bypassing general macro execution warnings.

How to Access Macro Security Settings

To manage these configurations within CorelDRAW:

  1. Open CorelDRAW.
  2. Go to Tools on the main menu bar.
  3. Select Options, then choose CorelDRAW (or press Ctrl + J).
  4. Navigate to the Scripting or VBA category in the sidebar.
  5. Click Security (or Macro Security) to open the configuration panel.
  6. Select your preferred security level and click OK to apply the changes.