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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
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,214,591
Messages
6,120,428
Members
448,961
Latest member
nzskater

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