How to Break All PowerPoint Links at Once Using VBA
Question details
The user needs a method to remove multiple external links from a presentation simultaneously because there is no native bulk-removal tool available.

- Product
- Microsoft PowerPoint
- Device & OS
- not provided
- Scenario
- Editing a presentation that contains numerous external links which must be disconnected or removed in bulk.
- Observed behavior
- PowerPoint does not provide a convenient built-in command for removing multiple external links from a presentation at once, requiring a workaround.
Always save a backup copy of your presentation before running any VBA macro, as macro actions typically cannot be undone using the standard Undo command.
Use a VBA Macro to Break Links
Since PowerPoint lacks a native button to break all links, using a custom VBA script is the most efficient way to identify and remove external links in bulk.
Visual Basic for Applications (VBA) allows you to automate repetitive tasks in Office applications. By running a short macro, you can loop through all slides and shapes to sever external OLE links instantly.
Press the ALT + F11 keys on your keyboard while your PowerPoint presentation is open to launch the Microsoft Visual Basic for Applications editor.
In the top menu, click on 'Insert' and select 'Module'. This will open a blank window where you can write or paste your macro code.
Input a standard VBA script designed to loop through all slides and delete link formatting (for example, iterating through ActivePresentation.Slides and checking for msoLinkedOLEObject).
Press F5 or click the 'Run' button in the toolbar. The script will execute, breaking all external links within the active presentation.

Try WPS Office for Seamless Presentation Editing
If you are frustrated by missing features or complex workarounds in Microsoft Office, WPS Office offers a free, lightweight, and highly compatible alternative. Enjoy an intuitive interface that makes managing slides, multimedia, and links straightforward and efficient.
- 1. Download the software: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install WPS Office: Run the setup file and follow the quick on-screen instructions to install the suite on your computer.
- 3. Open your presentation: Launch WPS Presentation and open your .pptx file to seamlessly edit and manage your slides without complex macros.

Frequently Asked Questions
Why doesn't PowerPoint have a 'Break All Links' button like Excel?
Unlike Excel, which heavily relies on interconnected data and features a dedicated Edit Links dialog with a 'Break Link' option, PowerPoint treats OLE objects and links differently. It currently lacks a native bulk-removal command, which is why VBA is often required.
Can I undo a VBA macro action if I make a mistake?
No, actions executed via a VBA macro generally clear the undo history in Microsoft Office applications. You cannot press Ctrl+Z to revert the changes, making it crucial to always create a backup copy before running any scripts.
Is there a way to view all external links without using VBA?
Yes. You can manually check for external links by navigating to File > Info > Related Documents > Edit Links to Files. However, you will still need to break them individually from that menu if you do not use a macro.




