Update Link Continue prompt

T

Tasha

I keep getting an Update Link prompt every time I open a file. The prompt
asks to Continue or Edit Links. If I go into Edit links, they are showing
status OK. I don't want this prompt. I have done Edit>Links>Startup Promp
and checked 'Don't display the alert and update links', saved and closed the
workbook. Upon opening, the link prompt is still coming up. I have told it
not to ask to update, and even tried putting
Application.AskToUpdateLinks=False in the open workbook code, and it is STILL
coming up. Can someone please tell me how to get this prompt to turn off?
 
T

Tasha

Thanks for your reply Dave. I have that program, but it didn't show any
other links. I did find a solution though. I turned off all options for
updating links, and then added the code below to update through workbook open:

Private Sub Workbook_Open()
Dim vLinkSources
Dim iLinkSource As Integer
vLinkSources = ThisWorkbook.LinkSources(xlExcelLinks)
If Not IsEmpty(vLinkSources) Then
For iLinkSource = LBound(vLinkSources) To UBound(vLinkSources)
ThisWorkbook.UpdateLink vLinkSources(iLinkSource), xlExcelLinks
Next
End If
End Sub
 

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