Using the Trust Center for macro security
This recipe is all about security, at least as far as macros are concerned. We will show you where to find the Trust Center in Excel, and after that, how to choose between four levels of macro security.
Getting ready
We've successfully created and tested our macro. We've even made some changes to the code by editing it in the VBA Editor. The final step is to have 02_RecordMacro.xlsm
open in order to set the macro security.
How to do it…
Proceed with the following steps for this recipe:
- Activate the backstage view by clicking on File:
- From the category list on the left, select the last one, Options. The Excel Options dialog box appears:
- Select the last category on the left, Trust Center, and then click on the Trust Center Settings button on the right: