Macro update link

J

jackcwood

I need some script that will update work book links even when another
user has the link open.

Any ideas
ActiveWorkbook.UpdateLink Name:= _
"C:\2008.xls", Type:= _
xlExcelLinks
 
G

Gary''s Student

try two things:

ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources

If this does not work, then try to re-establish all the formulas:

Cells.Replace What:="=", Replacement:="="
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top