updating link command button

  • Thread starter Thread starter tjb
  • Start date Start date
T

tjb

What's the code to use a command button to update links
on an Excel sheet?

I think it's something like:

Private Sub MSG_UPDATE_Click()
Application.Dialogs(xlDialogUpdateLink).Show
End Sub

but I can't figure out the rest of it.

Thanks!
 
Are you Joe User?



Take a look at UpdateLink in VBA's help for a nice example:

ahhh. From xl2002's help:

ActiveWorkbook.UpdateLink Name:=ActiveWorkbook.LinkSources
 

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

Back
Top