View Single Post
  #2  
Old July 7th, 2008, 03:28 PM posted to microsoft.public.excel.misc
Ron de Bruin
external usenet poster
 
Posts: 2,861
Default Open and Close a Workbook to Update Links

Hi Adam

Try to add this argument in the workbooks.open

UpdateLinks:=3



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


" m wrote in message
...
I have a file that is linked to another file on the same shared drive. When
I open the file, the links to the other file don't update. However, when I
open the other file the links DO update. I wanted to just open the file I'm
linked to and then close it using a macro, but this doesn't work either. I'm
using the following code:

Workbooks.Open "Linked File Path"
ActiveWorkbook.Close (True)

When the file opens, through this code, all the links seem to update but
then as soon as it's closed the linked cells revert back to Ref errors. Any
suggestions to how I can get around this issue?

Thanks

Adam Bush