To create another field, click New and repeat the previous step.Īfter you finish defining your data fields, click OK.
For example, you might want to change the data type or add a shape prompt at this time. In the Define Shape Data dialog box, type a name for the field, and fill in any other information that you want. In the shape’s edit window, right-click the shape, point to Data, and then click Define Shape Data. Right-click the shape that you just added to the stencil, point to Edit Master, and then click Edit Master Shape. Right-click the title bar of the new stencil, and then click Edit Stencil on the shortcut menu. To edit the new master on the custom stencil In the Shapes window, click More Shapes, point to My Shapes, and then click the stencil that contains the copied master shape. In the Save As dialog box, type a name for the new stencil, and then click Save.
If you want to add the master shape to an existing custom stencil, click Add To Existing Stencil. If you want to add the master shape to a new stencil, click Add To New Stencil. In the Shapes window, right-click the master shape, point to Add to My Shapes, and then do one of the following: To create a copy of the shape on a custom stencil For example, you can add data fields such as name and employee number to the master of a person shape. If you want to add the same set of shape data every time you use a particular shape, you can save time by adding the data fields to a copy of the master shape. To see your new fields in one of the shapes that you applied it to, select the shape, and then look in the Shape Data window. To apply the data set to selected shapes in your drawing, select the set in the Shape Data Sets task pane, and then click Apply. In the Define Shape Data dialog box, define the fields for your shape data set.Īfter all of your data fields are defined, click OK. Select your new data set, and then click Define. The data set appears in the Name column of the Shape Data Sets window. Select Create a new set, and then click OK. In the Add Shape Data Set dialog box, type a name for the data set. In the Shape Data Sets task pane, click Add. Right-click anywhere in the Shape Data task pane, and then click Shape Data Sets. You don’t have to create data fields for each shape individually-you can create a set of data fields and apply it to all selected shapes in your drawing, and to shapes that you place in the drawing later. The contents of the Shape Data window show the data for the selected shape only. Select each shape one at a time, and type the values into the data fields in the Shape Data window. The text appears when the mouse pointer is held over the field in the Shape Data window. If you want to provide a text prompt for someone adding data to the field, in the Prompt box, enter the text that you want. The format options change depending on the chosen data type. In the Format list, select a format for displaying the data. In the Type list, select a type of data for the new field to contain. In the Label box, type a name for the new field. In the Define Shape Data dialog box, click New, and then do the following: Right-click the selection, point to Data on the shortcut menu, and then click Define Shape Data. Select the shape or shapes that you want to add data to. This toggles display of the Shape Data task pane. On the View tab, in the Show group, click Task Panes, and then click Shape Data. To add data to shapes that are already in your drawing, first add the data fields to your shapes and then add values. Right-click the shape, and then select Data > Shape Data. To view the shape data for any Visio object:
#Using shapes in excel to show data how to
How to import data to shapes in your drawing Overview of importing data into Visio from an external data source The following articles discuss how to work with external data sources: This article describes how to add data directly to shapes. You can add data directly to a shapes, or (if you have Visio Professional) you can link data from an external data source to a shape.