Skip to main content

How to convert external links to values in Excel?

In Excel worksheet, sometimes, you may create some external data links from other workbooks to link to one used worksheet, generally, the data will be changed as the original workbook changes. If you like the data stop changing and want to convert the links to values, how could you do?

Convert external links to values with Edit Links command

Convert external links to values with VBA code

Convert external links to values with Kutools for Excel

Convert both external links and formulas to values with Kutools for Excel


arrow blue right bubble Convert external links to values with Edit Links command

In Excel, the Edit Links function may help you to break the external links and convert them to values, please do as follows:

1. Click Data > Edit Links, see screenshot:

doc convert links to values 1

2. In the Edit Links dialog box, all the links of the source workbooks are listed into the dialog, specify the source workbooks which contain the external links that you want to break, and then click Break Link button, see screenshot:

doc convert links to values 2

3. And then a warning message will pop out to remind you after applying this operation, the links will be converted to the existing values, go on clicking Break Links button, see screenshot:

doc convert links to values 3

4. And the specific external links have been converted to the values, see screenshots:

doc convert links to values 4
 1
doc convert links to values 5

arrow blue right bubble Convert external links to values with VBA code

The following VBA code also can help you to remove the external links from the whole workbook.

1. Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications window.

2. Click Insert > Module, and paste the following code in the Module Window.

VBA code: Convert external links to values

Sub BreakLinks()
'Updateby Extendoffice
Dim xLink As Variant
xLink = Application.ActiveWorkbook.LinkSources(Type:=xlLinkTypeExcelLinks)
Do Until IsEmpty(xLink)
    Application.ActiveWorkbook.BreakLink Name:=xLink(1), Type:=xlLinkTypeExcelLinks
    xLink = Application.ActiveWorkbook.LinkSources(Type:=xlLinkTypeExcelLinks)
Loop
End Sub

3. Then press F5 key to run this code, and all the external links within the current workbook have been broken, and they are converted to the normal values.


arrow blue right bubble Convert external links to values with Kutools for Excel

If you have Kutools for Excel, with its Find and Break Broken Links feature, you can view and locate the link cells, and break them as you need.

Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. Get it Now.

After installing Kutools for Excel, please do as follows:( Free Download Kutools for Excel Now )

1. Activate your worksheet which contains the external links, then click Kutools > Link > Find and Break Broken Links, see screenshot:

2. In the Find and Break Broken Links dialog box, all external links in current worksheet are listed into the list box, then you can specify the links that you want to convert to values, you can also view the links by checking View cell option, see screenshot:

Tips: you can filter the links from the Filter drop down list.

doc convert links to values 7

3. Then click Break link button, all specific external links of current worksheet have been converted to values, and they are selected at the same time, see screenshots:

doc convert links to values 8
 1
doc convert links to values 9

Click to know more details about this Find and Break Broken Links utility.


arrow blue right bubble Convert both external links and formulas to values with Kutools for Excel

Supposing there are both external links and formulas in your worksheet, how to convert both of them to normal values? Kutools for Excel also contains a powerful function – To Actual, with it, you can quickly convert the formulas or displayed values to actual values.

Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. Get it Now.

After installing Kutools for Excel, please do as follows:( Free Download Kutools for Excel Now )

1. Select the data range that you want to convert the formulas, external links to values.

2. Then click Kutools > To Actual, see screenshot:

3. And all the formulas and external links have been converted to values in the section.

Click to know more about this To Actual feature.

Free Download Kutools for Excel Now

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (1)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Спасибо Вам огромное!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations