How to break links in excel
Tutor 5 (120 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
Break links severs external references in a workbook so that cells, names, charts, queries, or objects that pointed to other workbooks become static values or local references. Breaking links prevents Excel from updating values from external files.
Why break links?
-
To make a workbook self-contained and portable.
-
To stop automatic updates that slow opening or cause errors.
-
To remove unwanted dependencies for sharing or archiving.
Where external links commonly hide
-
Cell formulas that reference other workbooks (e.g.,
=[Book1.xlsx]Sheet1!A1). -
Defined names in Name Manager.
-
Chart data series referencing external workbooks.
-
PivotCache or PivotTable data sources.
-
Data connections and Queries (Power Query).
-
Objects: text boxes, shapes, or OLE objects with linked content.
-
Conditional formatting rules that refer to external files.
-
Embedded charts or chart templates that refer externally.
How do I find external links in a workbook?
To find external links, use these checks in order.
-
Use the Edit Links dialog:
-
Go to the Data tab.
-
Choose Edit Links.
-
Review the listed sources.
-
-
Search for workbook names in formulas:
-
Press
Ctrl+F. -
Search for
[(left bracket) to find[BookName.xlsx]patterns. -
Inspect each result.
-
-
Check Name Manager:
-
Go to Formulas → Name Manager.
-
Look at "Refers to" for external paths.
-
Edit or delete names that point externally.
-
-
Inspect Conditional Formatting:
-
Home → Conditional Formatting → Manage Rules.
-
Check formulas and rule ranges for external references.
-
-
Examine PivotTables and Queries:
-
Select PivotTable → Analyze/Options → Change Data Source to verify source.
-
For Power Query, go to Data → Queries & Connections and inspect each query.
-
-
Review objects and charts:
-
Click each chart; check Series Formula in the formula bar for external paths.
-
Inspect shapes, text boxes, and embedded OLE objects for links.
-
How to break links using the Edit Links dialog
To break links using Edit Links, follow these steps.
-
Save a backup copy of the workbook before proceeding.
-
Go to the Data tab.
-
Click Edit Links (this button appears only when Excel detects links).
-
In the dialog, select the source link you want to break.
-
Click Break Link.
-
Confirm by clicking Break Links in the confirmation prompt.
-
Repeat for each source listed.
-
Save the workbook.
Can I undo Break Links?
No. Breaking links replaces formulas with their current values and cannot be undone after saving unless you have a backup. Create a copy of the workbook before breaking links.
How to replace formulas with values (manual method)
To convert cells that contain external formulas into values:
-
Select the range containing external formulas.
-
Press
Ctrl+Cto copy. -
Right-click the selection.
-
Choose Paste Special → Values.
-
Click OK.
-
Save the workbook.
What if Edit Links is greyed out or doesn't show all links?
Several cases can hide links from the Edit Links dialog. Use these steps.
-
Check for links in defined names via Formulas → Name Manager.
-
Inspect charts and shapes manually for external paths.
-
Search for
[using Find (Ctrl+F) across the entire workbook. -
Check conditional formatting rules for external references.
-
Check Power Query / Data connections under Data → Queries & Connections. Remove or disable queries if needed.
How to break links using Name Manager
To remove or edit external named ranges:
-
Go to Formulas → Name Manager.
-
In the list, identify names with external paths in the "Refers to" column.
-
Select a name that references an external workbook.
-
Click Delete to remove it, or click Edit and replace the external reference with a local range or value.
-
Click Close.
-
Save the workbook.
How to break links in charts and objects
To remove external references from charts and objects:
-
Select the chart.
-
Click the series; inspect the formula in the formula bar for external paths like
='C:\Folder\[Book.xlsx]Sheet1'!$A$1:$A$10. -
Replace the series source with a local range or copy the data into the workbook and update the series to point to the local copy.
-
For shapes or text boxes, edit text and remove links.
-
For embedded OLE objects, right-click and choose Convert or remove and replace with a static image if needed.
How to break links created by Power Query or Data Connections
To remove external queries and connections:
-
Go to Data → Queries & Connections.
-
In the pane, right-click a query and choose Delete to remove it.
-
For connections, go to Data → Connections, select the connection, and click Remove.
-
If you need query results as static data, load the query output to a sheet and then remove the query; this preserves values.
How to use VBA to break links (advanced)
To automate breaking workbook links, use this macro. Save a backup before running macros.
Sub BreakAllExternalLinks()
Dim L As Variant
Dim i As Long
L = ThisWorkbook.LinkSources(Type:=xlLinkTypeExcelLinks)
If IsEmpty(L) Then
MsgBox "No external links found."
Exit Sub
End If
For i = Lbound(L) To UBound(L)
ThisWorkbook.BreakLink Name:=L(i), Type:=xlLinkTypeExcelLinks
Next i
MsgBox "All external workbook links broken."
End Sub
Press
Alt+F11to open the VBA editor.-
Insert a new Module.
-
Paste the macro above.
-
Run the macro.
-
Save the workbook after confirming results.
Are there differences between Windows and Mac?
Yes.
-
Edit Links location: On Windows, Data → Edit Links is standard.
-
On Mac, older Excel versions may lack the Edit Links button; use Name Manager, Find (
Cmd+F), and manual checks. -
VBA behaves similarly, but Mac Excel may restrict some automation depending on security settings and Excel version.
-
Shortcut keys differ: Windows uses
Ctrl+F; Mac usesCmd+F. -
Power Query availability: Newer Windows Excel versions include full Power Query; Mac versions added Power Query later and may have a subset of features.
How to verify that all links are removed
-
Reopen the workbook and check Data → Edit Links; no sources should appear.
-
Use
Ctrl+F(orCmd+F) to search for[across the workbook; zero results indicates no Excel-style external formulas. -
Review Name Manager for external paths.
-
Inspect Queries & Connections for any remaining connections.
-
Check charts and objects one last time.
Best practices before breaking links
-
Make a backup copy of the workbook.
-
Record where the links point so you can recreate connections if necessary.
-
Replace dynamic external data with static snapshots only when real-time updates are not required.
-
Document changes for collaborators.
What mistakes to avoid
-
Breaking links without a backup prevents recovery of original formulas.
-
Overlooking hidden names, charts, or query dependencies causes residual link errors.
-
Removing necessary data connections without preserving data leads to data loss.
-
Using global Find without limiting scope may miss links in hidden sheets; unhide sheets before searching.
Checklist: quick action list to break links safely
-
Create a backup.
-
Data → Edit Links → Break Links (for visible links).
-
Formulas → Name Manager → delete or edit external names.
-
Search for
[using Find across workbook; convert found formulas to values if needed. -
Inspect charts, shapes, and PivotTables; re-point to local ranges.
-
Data → Queries & Connections → remove or disable queries; load values first if needed.
-
Run the VBA macro if many links exist.
-
Verify with Edit Links and Find.
-
Save the workbook.
Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
How to track changes in excel
Answers · 1
How to lock certain cells in excel
Answers · 1
How to merge two excel spreadsheets
Answers · 1
Where is the name box in excel
Answers · 1