Macros can add a wide variety of custom behavior to Microsoft Excel workbooks, but they also pose a potential security risk. Consequently, each version of Excel has provided ways for users to enable or disable macros by setting the desired level of macro security from Very High to Low; the initial “default” setting provides a relatively high level of protection.
We have provided several custom operations in the Option B Excel eForms for your convenience. These function all require that macros be enabled. The process for enabling macros depends upon the version of Excel and whether the workbook has been digitally signed.
Excel 2000 through Excel 2003 have four macro security levels.
To change the macro security level
- Start Excel.
- On the Tools menu, point to Macro and click Security.
- In the Security dialog box, click the Security Level tab.
- Select the desired macro security setting and then click OK. (Use either Medium or High for Option B.)
- Close Excel. (The security-level changes will not take effect until Excel is restarted).
To enable macros in the Option B workbooks
With macro security set to either High or Medium:
Start the Option B program.
If this is the first time you have used the program, you will need to fill in some identifying and contact information on the registration form.
- Choose the type of form and open a Blank Form or reopen a previously saved Existing Form.
- When Excel 2000 (or 2002, 2003) starts, you will be presented with a Security Warning dialog box. It should indicate that the workbook contains macros by Cornell University.
- If macro security is set to High, you may only enable macros from trusted publishers. The Enable Macros button is disabled until you check “Always trust macros from this publisher”. Check the box, then select Enable Macros.
If macro security is set to Medium, you have two choices:
- Recommended: Check “Always trust macros from this publisher”, then select Enable Macros.
- Leave “Always trust macros from this publisher” unchecked and select Enable Macros This approach enable macros only for this workbook and only for this session. You will need to enable macros every time you open an Option B workbook.
If you check “Always trust macros from this publisher”,you only need to do this once; from then on, all Option B forms should open with macros enabled.