Document Editing Problems

How to Break All PowerPoint Links at Once Using VBA

Steven ParkerSteven Parker Oct 23, 2026 869 views

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.

How to Break All PowerPoint Links at Once Using VBA
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.
Before you start

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.

Solution 1Recommended

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.

1
Open the VBA Editor

Press the ALT + F11 keys on your keyboard while your PowerPoint presentation is open to launch the Microsoft Visual Basic for Applications editor.

2
Insert a New Module

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.

3
Paste the Link-Breaking 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).

4
Run the Macro

Press F5 or click the 'Run' button in the toolbar. The script will execute, breaking all external links within the active presentation.

Use a VBA Macro to Break Links
Request a Built-in Feature: If you wish Microsoft to add a native feature to handle this easily, you can submit feedback directly through the official PowerPoint Feedback portal.
Free Microsoft Office alternative

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. 1. Download the software: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install WPS Office: Run the setup file and follow the quick on-screen instructions to install the suite on your computer.
  3. 3. Open your presentation: Launch WPS Presentation and open your .pptx file to seamlessly edit and manage your slides without complex macros.
Fully compatible with Microsoft PowerPoint (.pptx) file formatsFree and lightweight Microsoft Office alternativeFamiliar tabbed user interface for seamless migrationEasily manage hyperlinks, objects, and multimedia
microsoft office alternative - wps office

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.