Updating Cells Linked To Anouther Workbook

rockyw

Well-known Member
Joined
Dec 26, 2010
Messages
1,196
Office Version
  1. 2010
Platform
  1. Windows
I have a workbook that has cells linked to data in another workbook. If I open and update the one workbook but the other stays open how do I get the cells to update? I tried Refresh All but it does nothing. Will I need to update and save then close the one workbook and then close and reopen the other to update the cells? Thanks
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Could I do this with a code in one or the other workbook?
 
Upvote 0
Could you please check to see if your calculation option is set to manual? If so, turn to automatic.
 
Upvote 0
Its set to automatic but I would like to leave the workbook open all the time. The workbook the values will change will be opened, updated, saved and closed. The workbook the data is linked to will stay open on a large monitor and I would like to somehow update he new data and then save it without closing the workbook and reopening it. So far closing I and reopening has been the only way it update's. Thanks
 
Upvote 0
I found the answer. I placed this macro in sheet 1 and hide a command button on the screen. It works great.
Code:
Sub Update()
'
ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources
'

'
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,310
Members
452,634
Latest member
cpostell

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