Share via

visio links in file list

MichaelUsher-0659 0 Reputation points
2026-03-13T18:18:17.0233333+00:00

how show links in a visio file when not updated when opened

Microsoft 365 and Office | Visio | For business | Windows

1 answer

Sort by: Most helpful
  1. Kai-L 12,150 Reputation points Microsoft External Staff Moderator
    2026-03-13T20:46:22.6566667+00:00

    Dear @Michael Usher,

    Please correct me if I’ve misunderstood your scenario. From your description, it sounds like you’d like the linked data in your Visio file (shown in the External Data / file list) to refresh automatically when the document is opened, instead of requiring you to manually select Refresh each time.

    From my research, Visio defaults to manual refresh for external data links. This behavior helps avoid long load times and repeated security prompts when a file is opened, especially when the data source is external.

    You can use a macro to refresh all linked data automatically when the document opens. This requires the desktop version of Visio and saving the file as a macro‑enabled document.

    Press Alt+F11 > Insert > Module.

    Paste:

    Private Sub Document_DocumentOpened(ByVal doc As IVDocument)
        ThisDocument.RefreshAll
    End Sub
    

    (Or use Application.ActiveDocument.DataRecordsets.Refresh in a loop for more control.)

    Save as macro-enabled (.vsdm), enable macros on open.

    This runs automatically when the file opens and refreshes everything, no click required.

    Notes:

    Automatic refresh behavior applies to linked external data, not static shapes

    Visio for the web does not support VBA or macros

    Some data sources may still prompt for credentials depending on security settings

    If this doesn’t match what you meant by “links in the file list” or “not updated when opened”, please feel free to share a bit more detail about your scenario in the comments, and I’ll be happy to provide more targeted guidance. Looking forward to your reply.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.