Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hello -
I have a very simple (or so I thought) section of code used to update all external links in a workbook. It seems to update all of the information but before it finishes, I get the following error message: Run-time error '1004': Method 'UpdateLink' of object '_Workbook' failed Here's my code: Private Sub UpdateLinks_Click() Application.DisplayAlerts = False ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources Application.DisplayAlerts = True End Sub Any ideas what would cause the error? And, more importantly, how to fix it? TIA, Ray |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Disabling updatelinks | Excel Discussion (Misc queries) | |||
Deactivate then Reactivate UpdateLinks | Excel Programming | |||
UpdateLinks | Excel Programming | |||
Help with updatelinks:=3 etc PLEASE | Excel Programming | |||
Updatelinks | Excel Programming |