Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

You can quickly import and display data directly on your shapes in Visio. The first step is to connect to the data source and import data into your drawing. The second step is to link the imported data to shapes.

Step 1: Import your data

In this first step, you use the Data Selector Wizard to import your data.

The data that appears in the External Data window is a snapshot of your source data at the time of import. You can update the data in your drawing to match the changes in your source data. However, you cannot refresh your data source by changing the data in your drawing. See Refresh imported data.

  1. On the Data tab, in the External Data group, click Link Data to Shapes.

  2. On the first page of the Data Selector Wizard, choose which of the following types of data sources you want to use:

    • Microsoft Excel workbook

    • Microsoft Access database

    • Microsoft SharePoint Foundation list

    • Microsoft SQL Server database

    • Other OLEDB or ODBC data source

    • Previously created connection

  3. Complete the remainder of the wizard.

    Note: If you choose an option other than an Excel workbook, Access database, or SharePoint list on the first page of the wizard, you may be temporarily diverted to the Data Connection Wizard in the course of completing the Data Selector Wizard.

After you click Finish on the last page of the Data Connection Wizard, the External Data window appears with your imported data shown in a grid.

Step 2: Link rows of data to shapes in your drawing

There are three methods to link rows of data to shapes in your drawing: You can link rows to existing shapes one at a time, you can link the rows to shapes automatically, or you can create shapes from the data.

Method 1: Link rows to existing shapes one at a time

This approach is best for existing drawings with relatively few shapes.

  • Drag a row from External Data Window onto a shape in your drawing.

    Note: If you don't see the External Data Window, go to the Data tab, and in the Show/Hide group, select the checkbox next to External Data Window.

    Your data appears in the shape, and a link icon appears to the left of the row in the External Data Window.

    Drag a row onto a shape

    Notes: 

    • You can link a single row to multiple shapes, but you cannot link multiple rows to a single shape.

    • To change or enhance the appearance of the shapes and data, see Enhance your data with data graphics.

    • To display the External Data window, on the View menu, click External Data Window.

Method 2: Link rows to existing shapes automatically

This approach is best for existing drawings with a large number of shapes. This works only if the shapes have data already in them that you can match to data in the data source.

  1. In Visio 2016 and newer versions: On the Data menu, click Refresh All and select AutoLink After Refresh is checked if not already.

    In Visio 2013 and older versions: On the Data menu, click Automatically Link.

  2. Follow the steps in the Automatic Link Wizard.

    Your data will appear in your shapes. To change or enhance the appearance of the shapes and data, see Enhance your data with data graphics.

Method 3: Create shapes from your data

This approach is best if your drawing doesn't already have shapes, and you don't need to use specific shapes.

  1. Click a shape in the Shapes pane.

  2. Drag a row or set of rows from the External Data window onto a blank space in your drawing.

    One instance of the shape that you click appears for each row that you drag onto the drawing.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×