VBA & Macro Problems

Fix PowerPoint Slide Creation Macro Stopped Working in Excel

Anum MushtaqAnum Mushtaq Oct 21, 2026 869 views

Question details

A Visual Basic macro designed to create PowerPoint slides from Excel worksheets has stopped functioning.

How to Fix PowerPoint Slide Creation Macro Stopped Working in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Running an existing VBA macro in Excel to automate the generation of PowerPoint slides.
Observed behavior
The macro suddenly stops executing after operating successfully for several months, often pointing to an error in the VBA code or broken references.
Before you start

Before troubleshooting the macro, open the affected Excel workbook and ensure the Developer tab is enabled in your ribbon so you can easily access the Visual Basic Editor.

Solution 1Recommended

Update VBA Project References

Use this solution to restore the connection between Excel and PowerPoint by fixing broken or missing Object Library references in the Visual Basic Editor.

Macros that interact with other Office applications rely on specific Object Libraries. If Office is updated or the file is moved to a computer with a different Office version, these library references can break, causing the macro to fail.

1
Open the Visual Basic Editor

In Excel, navigate to the Developer tab on the ribbon and click on 'Visual Basic', or press 'Alt + F11' on your keyboard to open the editor.

2
Access Library References

In the Visual Basic Editor top menu bar, click on 'Tools' and select 'References' from the drop-down menu.

3
Clear Missing References

In the References dialog box, look at the list of checked items at the top. If any checked reference begins with the word 'MISSING:', click the checkbox to clear it.

4
Enable PowerPoint Object Library

Scroll down the list and locate 'Microsoft PowerPoint 16.0 Object Library' (the version number may vary depending on your Office installation, such as 15.0 or 14.0). Check the box next to it and click 'OK'.

5
Restart the Macro

Close the Visual Basic Editor, return to your Excel worksheet, and run the slide creation macro again to verify it is working.

Update VBA Project References
Alternative Coding Approach: To prevent this issue from happening again when sharing the file across different Office versions, consider rewriting the macro using 'Late Binding' (declaring PowerPoint as a generic Object), which bypasses the need for exact library references.
Free Microsoft Office alternative

Try WPS Office for Seamless Spreadsheet and Presentation Management

If macro compatibility issues and broken object references in Microsoft Office disrupt your workflow, consider switching to WPS Office. It provides a highly compatible, lightweight, and free alternative with a familiar interface, helping you effortlessly manage data and presentations without the hassle of complex COM library errors.

  1. 1. Download and Install: Visit the WPS Office website and download the free installation package for your operating system.
  2. 2. Open Your Spreadsheets: Launch WPS Spreadsheet and easily open your existing Excel workbooks with full format retention.
  3. 3. Manage Presentations: Use WPS Presentation alongside your spreadsheets in the same tabbed workspace to streamline your workflow.
Excellent compatibility with Microsoft Excel (.xlsx, .xlsm) and PowerPoint (.pptx) formatsFamiliar user interface for a seamless migration with zero learning curveLightweight installation that consumes fewer system resourcesBuilt-in tools to easily handle diverse office tasks under one tabbed window
microsoft office alternative - wps office

Frequently Asked Questions

Why does a VBA reference suddenly show as 'MISSING'?

A reference usually becomes 'MISSING' when the workbook is opened on a computer with a different version of Office, or after an Office update has changed the file path of the underlying Object Library (.dll or .olb file).

How do I enable the Developer tab in Excel?

Go to File > Options > Customize Ribbon. In the right pane under Main Tabs, check the box next to 'Developer', then click OK to display the tab on your ribbon.

What is the difference between Early Binding and Late Binding in VBA?

Early Binding requires you to check a specific Object Library reference (like the PowerPoint Object Library) in the Tools menu, providing auto-complete features while coding. Late Binding declares variables as generic Objects at runtime, which avoids 'MISSING' reference errors across different Office versions but lacks auto-complete.