A professional diagramming tool that helps users visualize complex information through easy-to-understand diagrams.
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.