Fix PowerPoint Hyperlinks Breaking After Renaming Parent Folders
Question details
The user needs presentation hyperlinks to remain functional after the parent folder containing the files is copied and renamed.

- Product
- PowerPoint
- Device & OS
- not provided
- Scenario
- Copying and renaming a parent folder that contains a presentation and its linked subfolders.
- Observed behavior
- Hyperlinks break because they continue pointing to the original absolute folder path instead of dynamically updating to the new parent folder location.
Before modifying your links, make sure that all the files and subfolders you intend to link to are saved within the same main folder as your presentation file.
Use Relative Paths for Hyperlinks
Create your hyperlinks using relative paths so they automatically adjust when the parent folder is moved or renamed.
A relative hyperlink points to a destination file based on its location relative to the current presentation, rather than using the full drive letter (absolute path). This ensures links survive folder migrations.
Ensure all target files or folders are located in the same main directory or a subfolder within the folder where your PowerPoint presentation is saved.
Select the text or object you want to link, right-click, and choose 'Hyperlink' (or press 'Ctrl + K').
In the 'Insert Hyperlink' dialog, navigate to your target file strictly by browsing within the current folder structure. Ensure the address bar only shows the file name or subfolder path (e.g., 'Subfolder\File.pdf') and not the 'C:\' drive prefix.
Click 'OK' to save the link. You can now move or rename the main parent folder without breaking the hyperlink.

Update Existing Broken Links Using a VBA Macro
If you have numerous broken absolute links across your presentation, you can use a Visual Basic for Applications (VBA) macro to perform a batch search and replace.
Use WPS Presentation to Manage Hyperlinks Intuitively
WPS Presentation makes it easy to handle relative hyperlinks and keep your files organized. By keeping your linked assets in the same directory as your presentation, you can migrate folders across devices seamlessly.
- 1. Open your presentation: Launch WPS Presentation and open your .pptx file.
- 2. Insert a hyperlink: Highlight the text or object and press 'Ctrl + K' to open the Hyperlink window.
- 3. Link relatively: Browse to the file located within your current presentation folder. WPS handles relative paths smoothly.
- 4. Save and move: Save your document. You can safely rename the parent folder and your links will remain completely functional.

Frequently Asked Questions
What is the difference between an absolute and a relative hyperlink in PowerPoint?
An absolute hyperlink includes the full drive letter and path (e.g., C:\Documents\Folder\File.pdf), which breaks if the main folder is moved or renamed. A relative hyperlink only includes the path relative to the presentation (e.g., Folder\File.pdf), allowing the main folder to be moved safely.
Why didn't my VBA macro update the hyperlink paths properly?
If your macro failed, first ensure that macros are enabled in your Trust Center settings. Additionally, check the code to ensure it targets the correct property (Hyperlink.Address) and that your search string exactly matches the old folder name.
Can I use the standard 'Find and Replace' tool for broken hyperlinks?
No. The default 'Find and Replace' feature in PowerPoint only searches text typed directly onto the slides. It does not scan or alter the underlying hyperlink addresses attached to shapes or text.
How do I fix hyperlinks to external files located on a network drive?
For files stored on network drives, it is best to use UNC paths (e.g., \\ServerName\SharedFolder\File.ext) instead of mapped drive letters (like Z:\). Drive letter mappings can differ between users, causing links to break for others.




