Fix PowerPoint Macros That Won't Run on a New Laptop
Question details
The user needs to run existing PowerPoint macros on a new laptop.

- Product
- Microsoft PowerPoint for Microsoft 365
- Device & OS
- not provided
- Scenario
- Macro-enabled presentations previously worked on an older Windows 10 computer and were moved to a new laptop.
- Observed behavior
- The presentations no longer show a macro warning, and the macros do not run.
Identify the original presentation or template and confirm that it comes from a trusted source. The menu paths below apply to PowerPoint for Windows; they may differ on other systems.
Verify the file type and check for VBA code
Use this check to make sure the copied file can contain macros and still includes its VBA project.
In File Explorer, check whether the presentation ends in .pptm or the template ends in .potm. If necessary, turn on file name extensions in the View menu. Standard .pptx and .potx files do not retain VBA macros.
In PowerPoint, select File > Options > Customize Ribbon, check Developer, and select OK.
Open the file and select Developer > Visual Basic. In the VBA editor, use View > Project Explorer and expand the presentation's project and its modules to look for code.
If the copied file is a .pptx or .potx, or its VBA project contains no code, locate the original macro-enabled file on the old computer or ask the file's owner for it. Changing the extension alone will not restore missing macros.

Review PowerPoint macro security and file blocks
Use this solution if the macro-enabled file contains VBA code but macros do not run or no warning appears.
Edit PowerPoint Presentations with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Microsoft Office files, making it easy to move everyday presentation work between suites. It does not change PowerPoint's macro security settings; verify VBA support separately before relying on a macro-enabled workflow.

Frequently Asked Questions
Why is there no macro warning when I open my presentation?
The file may not contain macros, or PowerPoint may be set to disable them without notification. Check the file extension and VBA project, then review File > Options > Trust Center > Trust Center Settings > Macro Settings.
Can a PPTX file contain working VBA macros?
A standard .pptx file does not retain VBA macros. Look for the original .pptm presentation or .potm template; simply renaming the extension will not restore removed code.
How do I see the macros inside a PowerPoint file?
Enable Developer under File > Options > Customize Ribbon, then open the file and select Developer > Visual Basic. Use View > Project Explorer in the VBA editor to inspect the project's modules.
Why is a downloaded macro-enabled file still blocked?
Windows or an organization policy may block macros in files from the internet. For a trusted file, check its File Explorer Properties for an Unblock option. If the block remains, ask your IT administrator about the applicable policy.




