ReplaceMagic Use Cases — When Do You Need It?
Any time file paths or embedded links inside Office documents become incorrect at scale, ReplaceMagic is the right tool. Below are the most common scenarios our customers face — and how ReplaceMagic solves each one without opening a single file.
1. Server Migration or Server Rename
What happens: Office documents routinely contain hyperlinks, OLE object links, and link sources pointing to files on a named server — for example \\OldServer\Company\Reports\Q4.xlsx. When that server is renamed or replaced, every embedded path referencing the old name becomes invalid instantly. With hundreds or thousands of documents, manually tracking down and correcting every broken reference is not feasible.
How ReplaceMagic fixes it: Scan all your document folders, then set up a single search/replace rule: old server name → new server name. ReplaceMagic updates every hyperlink, OLE object link, link source, header, footer and VBA reference across every document in a single pass — no files opened, no Office application running.
Pro tip: Run a scan before the migration to get a full inventory of all embedded links. This gives you a risk assessment and confirms exactly which documents will need repair after the cutover.
2. Folder Restructuring or New Folder Hierarchy
What happens: Companies frequently reorganise their folder structures — inserting a new parent folder, splitting a department folder into sub-departments, or moving content to a new location. Any document that contains an absolute path to another file immediately has a broken link once that path changes. If thousands of Word or Excel files cross-reference each other, even a small restructuring can produce thousands of broken links across the organisation.
How ReplaceMagic fixes it: Define the path change as a search/replace rule — for example, replace \\Server\Company\Finance with \\Server\Company\Finance\Reports\2026. ReplaceMagic applies it across every affected document in one run. Multiple rules can run simultaneously, covering complex reorganisations in a single pass.
Supports: Hyperlinks, OLE links, link sources, VBA path references, header and footer content, and plain text body content.
\\Server\Finance\\\Server\Finance\Reports\2026\
3. Network Infrastructure Change
What happens: Major network changes — switching from Novell to Microsoft, adopting a new UNC naming convention, moving from IP-based paths to named paths, or consolidating domain structures — change the way file paths are expressed across the entire organisation. Every document that uses the old path convention breaks simultaneously.
How ReplaceMagic fixes it: Set up search/replace rules mapping old path patterns to new ones. ReplaceMagic scans your entire document library and applies all rules in one pass. Because it processes documents in parallel across CPU cores, even libraries of tens of thousands of files can be processed quickly without putting staff under pressure to fix things manually before the cutover deadline.
Example: Switching from Novell paths (VOL1:\Shared\) to UNC paths (\\FileServer\Shared\) across 50,000 documents — done in one run.
4. New File Storage (NAS, SAN or Cloud Storage)
What happens: When an organisation replaces its storage infrastructure — moving to a new NAS, upgrading to a SAN, or migrating to a cloud-based file storage solution — the paths used to access files change. All documents containing links to the old storage paths break immediately on cutover.
How ReplaceMagic fixes it: Use ReplaceMagic's Find Documents feature to scan the new storage location and get a complete inventory of all documents and their links. Then apply search/replace rules to update every path from the old storage convention to the new one. ReplaceMagic can verify link validity both before and after the replacement, giving you confidence that the repair is complete.
Works with: Local drives, mapped drives, UNC network paths, and native SharePoint storage (Online and on-premises).
5. Migration to SharePoint, Teams or OneDrive
What happens: Moving documents from a file server to SharePoint Online, Microsoft Teams or OneDrive for Business is one of the most common enterprise IT projects today. The moment files land in SharePoint, all their embedded links — which previously pointed to \\FileServer\Dept\Reports\ — become invalid because SharePoint uses HTTPS URLs rather than UNC paths. The scale of breakage is typically enormous: a single migration can produce hundreds of thousands of broken links across thousands of files.
How ReplaceMagic fixes it: ReplaceMagic connects natively to SharePoint Online and on-premises without needing to map a drive. It scans document libraries directly via the SharePoint API, applies your path-to-URL mapping rules, and writes repaired files back to SharePoint — preserving last-modified date, author, version history, check-in/check-out state and content approval status. Teams and OneDrive are supported because they use SharePoint as their document storage backend.
All SharePoint migration types supported: file server to SharePoint, SharePoint on-premises to SharePoint Online, and SharePoint tenant-to-tenant migrations.
\\FileServer\Company\https://company.sharepoint.com/sites/Docs/
6. SharePoint Tenant-to-Tenant Migration
What happens: Company acquisitions, mergers and divestitures frequently require moving entire SharePoint tenants. This is one of the most complex migration scenarios because it changes not just the base URL but also SharePoint's internal item IDs. Documents can contain three types of links — absolute (URL-based), relative (path-based) and ID-based (referencing a document by its SharePoint item ID). ID-based links are particularly problematic: the source tenant's IDs simply do not exist in the target tenant, making those links permanently broken unless they are converted to absolute URLs before migration.
How ReplaceMagic fixes it: ReplaceMagic handles all three link types. For ID-based links, it can convert them to absolute URL-based links so they survive the tenant boundary. The Replacements Preparation Package service provides expert preparation of all required search/replace string combinations based on your specific migration mapping rules — saving significant time on complex tenant migrations.
- Absolute (URL) links
- Relative path links
- ID-based links
7. Company Rebrand — Header and Footer Bulk Update
What happens: When a company rebrands, relocates, or changes its contact details, the old company name, address, phone number or website URL appears in the headers and footers of thousands of Word and Excel documents. Updating these manually — opening every document, editing the header and footer, saving and closing — is an enormous and error-prone undertaking even for a small document library.
How ReplaceMagic fixes it: ReplaceMagic treats headers and footers as just another document area to process. Scan all documents, set your search/replace rule (e.g. old company name → new company name, old address → new address), and execute. Every header and footer across every document is updated in one pass without opening any file. Multiple replacement rules can run simultaneously, so address, phone number and website URL can all be updated in a single run.
Also works for: Updating copyright year in footers, replacing logo file paths in headers, correcting legal entity names after a corporate restructure.
Old Company LtdNew Company IncApplied to headers, footers & body text simultaneously
8. VBA Macro Code Bulk Update
What happens: Many enterprise Office documents contain VBA macros with hardcoded file paths, server names or network locations embedded directly in the code. When infrastructure changes — a server rename, folder restructure or migration to SharePoint — those hardcoded paths in VBA become invalid and the macros stop working. Tracking down every occurrence of a server name across macro code in hundreds of Excel or Word files is time-consuming and risky.
How ReplaceMagic fixes it: ReplaceMagic can search and replace within the VBA code area of Word, Excel and PowerPoint documents. Set the search string to the old server or path reference in your VBA code and the replacement to the new value. ReplaceMagic will update the VBA code in every affected document without opening them in the VBA editor or running any macros.
Safe processing: ReplaceMagic does not execute VBA code during processing — it reads and writes the macro source code as text, which is both faster and safer than automation-based approaches.
"\\OldServer\data\""\\NewServer\data\"Applied directly in VBA source code
9. Pre-Migration Link Audit
What happens: Most organisations only discover how many broken links exist in their documents after a migration has completed — when users start reporting problems. This reactive approach is avoidable. Running a document link audit before migration gives you full visibility of the problem before it becomes a crisis.
How ReplaceMagic helps before migration: Use ReplaceMagic's scan mode with link validation enabled. It will crawl every document in your current storage location, list every embedded link, and check whether each one currently resolves. The output is a complete inventory that shows you:
- How many documents contain embedded links
- Which links are already broken before migration starts
- Which link types are in use (hyperlinks, OLE, link sources, VBA)
- The total volume of links that will need repairing post-migration
This data feeds directly into your post-migration repair plan and helps you scope the effort accurately for project management and stakeholder reporting.
- Total document count
- Total link count
- Broken link count
- Link type breakdown
- Exportable to CSV/Excel
10. Bulk Find & Replace Across Document Libraries
What happens: Beyond migration scenarios, there are many situations where IT teams, translators, legal teams or document managers need to make a consistent text change across a large collection of documents. Examples include updating a product name, correcting a recurring error in boilerplate text, replacing an old regulatory reference with a new one, or localising content for a new market.
How ReplaceMagic handles it: The search/replace engine works on plain text body content as well as all embedded link types. You can target just the body text, just the headers/footers, just hyperlinks — or all areas at once. Wildcards and regular expressions are supported for flexible pattern matching. Multiple search/replace string pairs can be imported from a CSV file and applied in a single run.
Supported document types for text replacement: Word, Excel, PowerPoint, Visio, Project, PDF, OneNote, plain text, HTML, CSV, and Windows shortcut files.
SearchString|ReplaceString
OldProduct|NewProductOld Inc|New CorpReg 2019/1|Reg 2024/5All applied in one pass
Recognise your scenario? Download the free trial and test ReplaceMagic against your own documents — no registration required, no time limit on the scan.










