logo
search
VBA & Macro Problems

How to Restore Disabled Macros in Project Online Enterprise Global Template

Amos GikundaAmos Gikunda Sep 28, 2026 869 views

Question details

Users need to restore and enable macros in the Microsoft Project Online Enterprise Global template that have been blocked due to an untrusted source error.

How to Restore Disabled Macros in Project Online Enterprise Global Template
Product
Microsoft Project Online
Device & OS
Windows
Scenario
Running existing VBA macros in a managed Project Online environment after installing a recent Microsoft Office update.
Observed behavior
Macros are entirely disabled in the Enterprise Global template, the option to enable them is unavailable, and the system shows an error stating macros are blocked from an untrusted source.
Before you start

Before making system-level changes or rolling back Office versions, ensure you back up your Windows Registry and save all your active Project files.

Solution 1Recommended

Roll Back Office to Version 2407 (Build 17830.20166)

Use the Office Click-to-Run utility via the Command Prompt to revert to a stable build where the Enterprise Global macros function correctly.

This issue typically occurs because recent Microsoft updates automatically block macros from what the software incorrectly identifies as untrusted network sources. Rolling back to a previous build bypasses this new security restriction until a permanent patch is released.

1
Open Command Prompt as Administrator

Click the Windows Start menu, type 'cmd', right-click on 'Command Prompt', and select 'Run as administrator'.

2
Navigate to the Click-to-Run Directory

Type the command `cd C:\Program Files\Common Files\Microsoft Shared\ClickToRun` and press Enter to access the Office updater folder.

3
Execute the Rollback Command

Type `OfficeC2RClient.exe /update user updatetoversion=16.0.17830.20166` and press Enter to initiate the downgrade process.

4
Wait for the Update to Complete

An Office update window will appear. Wait for it to finish downloading and applying the previous version, then restart Microsoft Project.

Roll Back Office to Version 2407 (Build 17830.20166)
Disable Automatic Updates: After rolling back, open any Office application, go to File > Account > Update Options, and click 'Disable Updates' to prevent the problematic version from reinstalling automatically.
Free Microsoft Office alternative

Experience a Hassle-Free Office Alternative with WPS Office

While dealing with complex Microsoft updates and macro blockages can disrupt your workflow, consider WPS Office for your daily document, spreadsheet, and presentation needs. It is a lightweight, highly compatible free alternative that provides a stable environment for your essential tasks without the enterprise-level update lockouts.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button.
  2. 2. Install WPS Office: Run the lightweight installer and follow the on-screen prompts to set up the software.
  3. 3. Open Your Documents: Launch WPS Office to immediately open, edit, and manage your standard Office files and VBA macros.
Fully compatible with Microsoft Word, Excel, and PowerPoint file formats (.docx, .xlsx, .pptx).Includes a stable and independent VBA environment for seamless macro execution.Lightweight installation with zero complex enterprise update rollbacks required.Familiar user interface ensuring seamless migration and zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why are macros suddenly disabled in my Project Global Template?

Recent Microsoft Office security updates feature stricter default policies that block macros originating from network or internet sources labeled as 'untrusted' in order to prevent malicious script execution.

Will rolling back my Office version affect my other files?

No. Rolling back simply reverts the application files for Word, Excel, PowerPoint, and Project to a previous feature state. It does not delete, modify, or corrupt your saved documents and project plans.

How do I know if this macro block affects my specific version?

The issue is widely reported on Microsoft Project version 2407, specifically on builds later than 17830.20166. You can verify your current build number by going to File > Account within Microsoft Project.