Find and Remove External Link
What is called External Link in Excel?
Microsoft Excel is used in large communities and for wide purposes. Sometimes the user needs to work in multiple Excel sheets to retrieve calculations. Every time opening multiple sheets is a difficult one. Hence creating an external link is easier. An external link refers to another workbook's data range or cell range.
Why do we need to create an External Link?
Creating an external link is useful in various ways. Some of the points are described below as follows:
- While working with multiple workbooks, referring to the data in another workbook helps create an external link.
- Creating the external link is useful for analyzing and organizing a large amount of data in a worksheet.
- Creating an external link helps to save the user's time, as it is done manually and takes more time to copy and paste.
- Data updation is done easily, as the data change in the source workbook updates in the destination workbook. For example, if the product sale table is present in one worksheet and the chart is currently in another worksheet if the data is changed in the product sale table, it reflects in the worksheet where the chart contains.
- Data sharing is done easily if it is created with external links.
How to Find External Links in Excel?
To find an external link in Excel, the steps to be followed are:
- To find the external link, open the required workbook. The workbook's name is Company Excel.
- In the ribbon tab, click the option Data.
- Choose the Edit Link option in the connection group.
- The edit link dialog box appears where it displays the external link present in the workbook.
In the worksheet, North Excel is displayed as the source workbook.
- The Change Source present in the Edit Link option is to update the external link.
Find and Replace Method
The Find and Replace Method is used to find the external link. The steps to be followed are:
- Usually, the worksheet with external links contains the file name with any of the extensions, namely .xlsx/.xls/.xlb/.xlsm.
- Open the worksheet, which needs to be checked for external links.
- Press Ctrl+A to select all the cells.
- Click the Find & Select option in the Editing group in the Home tab.
- There display several options that choose the "Find" option.
- The Find and Replace dialog box will open. In that Find what dialog box enter the extension as *.xl*.
- Click the Find All option.
- It displays the worksheet name if an external link is present.
Here twelve cells are found with an external reference. If the user uses many external links, it is shown in the Find and Replaces dialog box.
Why remove the external link in Excel?
Based on the calculation, the user sometimes needs to remove the external reference after the calculation process. Some of the reasons to remove external references are as follows:
- To reduce the size of the file, external references are removed. If the workbook contains multiple external links, the file size needs to be bigger and easier to save.
- If the respective worksheet is missed or deleted where the external link is liked with the worksheet, then the external link should be removed.
- To maintain data security and protection, the external link is removed
How to remove the external reference in Excel?
To remove the external reference in Excel, the steps to be followed are as follows:
- Open the required workbook to remove the external reference.
- Choose the Name Manager in the Defined Names group in the Formula tab.
- The Name Manager dialog box will appear. It displays the list of workbook names with an external reference.
- Select the respective workbook and click delete to delete the required workbook name.
- The particular workbook containing the external reference is deleted. Similarly, to delete multiple workbooks, the steps are repeated.
Here, cell D2 in Sheet 1 is deleted using the external reference.
- After deleting the required workbook, click Close to exit the Name Manager Dialog box. After finishing, save the changes in the workbook.
How to find links in Excel charts?
The user can find the external link present in the Excel chart by following methods,
- Open the worksheet containing the required chart or graph.
- Click on the graph title or data series the user wants to check.
- If the external link is present in the chart, it will be displayed in the formula bar if the data is linked to another worksheet. Here the external reference is shown in the formula bar.
How to find External Link in Excel using VBA?
Apart from formulas and functions, one can find the external link in Excel using VBA.
The code used for finding the external link in Excel is as follows:
The above code checks whether the external link is present in the worksheet. If any external link is present in the worksheet, a message will display indicating that a link is present.
The steps to be followed are:
- Open the worksheet which contains the external data.
- Right-click the Sheet Name and press the View Code option.
- Paste the code in the VBA module.
- Press F5 to run the code.
The link will display in the formula bar if the external data is present in the worksheet.
Finding the external link in the worksheet is an important concept. The user can find the link in the worksheet by following the explained functions and methods in this tutorial.