Timer to refresh linked cells

mummbles74

Board Regular
Joined
Nov 14, 2009
Messages
120
Office Version
  1. 365
Platform
  1. Windows
I have cells in a summary work book that are linked to other seperate workbooks. I have recorded a macro to refresh these links as I had no Idea where to start with this one. like:

ActiveWorkbook.UpdateLink Name:= _
"S:\Maintenance\Gary Howard\IEA COW\Current Emergent Work\ANALYSER EMERG WO Current.xls" _
, Type:=xlExcelLinks

For each cell.

Is there a line of code that will refresh all these links in one go and can I set a timer on this to refresh automatically every 10mins?

Thank you in advance as always.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
No sorry this didn't seem to update any of the links that go to external sheets.
 
Upvote 0
I see in the help file for Excel vba for the Workbook.UpdateLink Method:

This example updates all links in the active workbook.
<code>ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources

perhaps try that.
</code>
 
Upvote 0

Forum statistics

Threads
1,224,579
Messages
6,179,656
Members
452,934
Latest member
mm1t1

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