VBA & Macro Problems

Fix PowerPoint Macros That Won't Run on a New Laptop

Maira MehtabMaira Mehtab Nov 14, 2026 868 views

Question details

The user needs to run existing PowerPoint macros on a new laptop.

Fix PowerPoint Macros That Won't Run 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.
Before you start

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.

Solution 1Recommended

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.

1
Check the file extension

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.

2
Show the Developer tab

In PowerPoint, select File > Options > Customize Ribbon, check Developer, and select OK.

3
Inspect the VBA project

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.

4
Find the original if needed

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.

Verify the file type and check for VBA code
Free Microsoft Office alternative

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.

Open and edit Microsoft PowerPoint presentation formats such as PPTX.Work with slides in a familiar presentation interface.Use a free, lightweight suite for everyday office tasks.Move between common Microsoft Office document formats.
microsoft office alternative - wps office

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.