Change macro security settings
You can change macro security settings in the Trust Center, unless a system administrator in your organization has changed the default settings to prevent you from changing the settings.
On the Developer tab, in the Code group, click Macro Security.
Macro Security command on the Developer tab
Note If the Developer tab is not available, do the following to display it:
Click the File tab, click Options, and then click the Customize Ribbon category.
In the Main Tabs list, select the Developer check box, and then click OK.
Click any other tab to return to your file.
In the Macro Settings category, under Macro Settings, click the option that you want. For detailed information about these settings, see the section Macro security settings and their effects, earlier in this article.
Note Any changes that you make in the Macro Settings category in Excel apply only to Excel and do not affect any other Microsoft Office program.
Tip You can also access the Trust Center in the Options dialog box.
Click the File tab, click Options, and then click the Trust Center category.
Click Trust Center Settings, and then click the Macro Settings category.