Fix PowerPoint Slide Creation Macro Stopped Working in Excel
Question details
A Visual Basic macro designed to create PowerPoint slides from Excel worksheets has stopped functioning.

- 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 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.
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.
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.
In the Visual Basic Editor top menu bar, click on 'Tools' and select 'References' from the drop-down menu.
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.
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'.
Close the Visual Basic Editor, return to your Excel worksheet, and run the slide creation macro again to verify it is working.

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. Download and Install: Visit the WPS Office website and download the free installation package for your operating system.
- 2. Open Your Spreadsheets: Launch WPS Spreadsheet and easily open your existing Excel workbooks with full format retention.
- 3. Manage Presentations: Use WPS Presentation alongside your spreadsheets in the same tabbed workspace to streamline your workflow.

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.




