logo
search
VBA & Macro Problems

How Administrators Can Disable Developer Tools and Macros in Microsoft 365

Phi Hung VoPhi Hung Vo Oct 1, 2026 869 views

Question details

An organization needs to restrict employees from creating or running Excel macros and accessing VBA tools for risk management purposes.

How Administrators Can Disable Developer Tools and Macros in Microsoft 365
Product
Microsoft 365
Device & OS
not provided
Scenario
Securing an organizational environment by preventing unauthorized macro execution and restricting access to the Developer tab.
Observed behavior
Administrators require a centralized method to block macros and disable developer tools across the organization's Microsoft 365 deployment.
Before you start

Ensure you have global administrator or security administrator privileges in your Microsoft 365 tenant before attempting to modify organizational policies.

Solution 1Recommended

Enforce Macro Restrictions via Microsoft 365 Policies

Enterprise administrators can use Microsoft 365 Cloud Policy or Group Policy to enforce macro restrictions globally across all employee devices.

By default, Microsoft has started blocking VBA macros obtained from the internet in Office apps. However, for strict internal compliance, administrators can deploy custom policies to disable VBA entirely or block specific macro functionalities.

1
Access the Policy Management Center

Log in to the Microsoft 365 Apps admin center and navigate to Customization > Policy Management.

2
Create a New Policy

Click on 'Create' to configure a new policy. Specify a name for the policy and select the scope of users or Azure AD groups you want to apply the restriction to.

3
Configure Macro Settings

In the policies list, search for 'VBA' or 'Macros'. Configure the relevant settings, such as enabling 'Block macros from running in Office files from the Internet' or 'Disable VBA for Office applications'.

4
Save and Apply

Save the policy configuration. The restrictions will take effect on users' devices upon their next policy refresh cycle.

Enforce Macro Restrictions via Microsoft 365 Policies
Policy Propagation Time: It may take up to 24 hours for cloud policies to propagate and apply to all targeted devices in your organization.
Secure Your Spreadsheets with WPS Office

How to Manage Macro Security in WPS Office

If you need to control macro execution to protect your workspace from malicious scripts, WPS Office provides robust, built-in macro security settings that allow you to easily restrict or disable VBA macros.

  1. 1. Open WPS Spreadsheets: Launch WPS Spreadsheets and open any blank or existing workbook.
  2. 2. Access the Options Menu: Click on the 'Menu' button located in the top left corner of the application window, then select 'Options' from the drop-down list.
  3. 3. Navigate to Security Settings: In the Options dialog box, select 'Security' from the left-hand navigation pane.
  4. 4. Adjust Macro Security Level: Click on 'Macro Security' and choose 'High' or 'Very High' to disable unsigned macros entirely or block all macros from running.
  5. 5. Save Your Preferences: Click 'OK' to apply your new security settings and protect your workspace.
Fully compatible with Microsoft Excel files (.xls, .xlsx, .xlsm).Built-in macro security levels to prevent unauthorized script execution.Lightweight deployment with lower IT overhead.Familiar user interface requiring zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Are macros from the internet blocked by default in Microsoft 365?

Yes, Microsoft has updated its default security settings to block macros in files downloaded from the internet (files with a Mark of the Web) to improve security against malware.

Can I disable macros for specific departments rather than the whole company?

Yes. By using Microsoft 365 Cloud Policies or Group Policy, administrators can target specific Active Directory groups or organizational units, allowing you to restrict macros only for departments that do not require them.

How can a user manually hide the Developer tab in Excel?

A user can right-click anywhere on the Excel ribbon, select 'Customize the Ribbon', and uncheck the 'Developer' option in the right-hand pane to hide the tab from their workspace.