Updating links when opening workbook

busdriver12

New Member
Joined
Apr 17, 2011
Messages
20
Office Version
  1. 365
I have a couple of workbooks when opened I see the following dialog box from Excel:

imageview.php
44789a5ba6e3736ca43f7f980f91457dd2b833ce9462d4a75e478ca3885e53ae6g.jpg


Can anyone guide me as to where I can look to find where this link is the "other data source"? I thought if may have been a macro referenced in another workbook, but there are none.

TIA for any tips/help

:o)
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
If you are asking to find which cell in your workbook contains a paste link formula, start by right-clicking any sheet tab, and select Select All Sheets. Then hit Ctrl+F and in teh Find what field, enter *[* and see what cell(s) are found that containlinks to other workbooks.

In teh Find what box type ! and that will also help.


If the work being done is always on your computer, you can avoid VBA by clicking on Tools > Options > Edit > select Ask to update automatic links.
Or if you want to disable it only before your macro opens your workbook, and enable it immediately thereafter, put this in your macro:

Application.AskToUpdateLinks = False
Workbook.Open Filename:="G\Your\File\Path\Filename.xls"
Application.AskToUpdateLinks = True

Or

Workbooks.Open Filename:="C:\Your\File\Path\Filename.XLS", UpdateLinks:=0

Note, arguments for UpdateLinks:
0 Does not update any references
1 Updates external references only, not remote references
2 Updates remote references only, not external references
3 Updates both remote and external references
or place this in your workbook module

Private Sub Workbook_Open()
ThisWorkbook.UpdateLink _ Name:=ThisWorkbook.LinkSources
End Sub

To easily access your workbook module, find the little Excel workbook icon near the upper left corner of your workbook window, usually just to the left of the File menu option. Right click on that icon, left click on View Code, and paste the following procedure into the large white area that is the workbook module. Press Alt+Q to return to the worksheet.

In 2007 or 2010, Alt+F11 > Ctrl+R and expand the Objects folder for your workbook project.

And someone else will no doubt post other ways; these are just a few options.
 
Upvote 0

Forum statistics

Threads
1,224,567
Messages
6,179,571
Members
452,927
Latest member
whitfieldcraig

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top