Macro/button to update link(s) to external sheet(s)

Ok, one more hurdle...

I tried recording a macro to do this, but it just opens the Edit > Links
window, it doesn't finish (update the links and close the window).

Anyone have any ideas on how to accomplish this? I really don't want to
tell the boss he'll have to do that manually every time he wants to
refresh the data in his management spreadsheet.

Thanks

Ok, I can't test this right now, but this page might have an acceptable
answer: http://blog.louic.nl/?p=622

The part about adding a nice button have a small macro in it. Here it's
used for linked CSV files, but since the dialog asking to update links
that's shown when you reload your file is the same, maybe the same
procedure works.

Other than that I didn't find a quicker way to reload external references
than file->reload->accept the dialog that asks for refresh :frowning:

Doesn't work for me but seems to try to do something.

The article is 4 years old and based on Openoffice - so maybe something
changed and someone here can spot the problem?

Here is the code from the linked article:

REM ***** BASIC *****

Sub refreshAllSheetLinks()
   oEnum = thisComponent.SheetLinks.createEnumeration
   while oEnum.hasMoreElements
      oLink = oEnum.NextElement
      oLink.refresh
   wend
End Sub

Sub Main
end sub

Hello,

I sure would appreciate if someone familiar with macros could give this
a look and see if this can be made to work.

Thanks