Linking a Diagram to a Microsoft Office Document

When you link a Visio 2007 diagram to a document in an Office application, the document file stores a reference to the original diagram. If you edit the diagram—either in Visio 2007 or within the document—the diagram changes in both places. And if you’ve linked the diagram to more than one document, each of those documents will be updated. Because each of these documents is linked to a single Visio 2007 diagram, your documents stay smaller, which means you can work in the documents more quickly and they take up less space on your hard disk. However, any time you need to use the Office document that contains the link, the original Visio 2007 diagram must be available in its original location.

A linked file is tracked and updated based on its file name and location. Let’s say you link a Visio 2007 diagram to a PowerPoint slide. The next time you open that PowerPoint presentation, it searches for the Visio 2007 drawing file referenced by the link and displays the latest version. If you change the name of the Visio 2007 diagram file, or move it to a different folder after you link it, the link will be broken and the diagram won’t appear in PowerPoint. If you link a diagram to an Office document, it’s simplest to store the Visio 2007 diagram in the same folder as the Office document; if you need to move the document to another computer, make sure you move both the document and the linked diagram file. For example, if you created a presentation on your laptop computer, and then want to run the presentation from a different computer, copy both the presentation file and the linked Visio 2007 drawing file to the new computer, retaining the file structure that existed on the laptop computer. Before you can link a Visio 2007 diagram, you must save the Visio 2007 file.

Note

To display a linked Visio 2007 diagram in a document, your computer must have the applications used to create both the document and the Visio diagram. This limitation makes documents with links less portable. To send a document that contains links to another person, you must include all the files referenced by the links, and the recipient must also have all the applications used to create the documents and files. However, it doesn’t matter which version of Visio the recipient has—both Visio Standard 2007 and Visio Professional 2007 can open diagrams created in the other version. Do not use object linking if you need to print the document from a computer that doesn’t have Visio installed; embed the diagram instead.


To link to a Visio 2007 diagram from another application, follow these steps:

1.
In Visio 2007, make sure nothing is selected on the Visio 2007 drawing page, and choose Edit, Copy Drawing.

2.
Open the document in which you want the data to appear. (For example, open PowerPoint, and then display the slide in which you want the Visio 2007 diagram to appear.)

3.
Choose Paste Special (located in the Clipboard Group on the Home Tab in Word, Access, Excel, and PowerPoint) to display the Paste Special dialog box.

Note

If you use the Paste command or the keyboard shortcut (Ctrl+V), you won’t be able to create a link.

4.
Select Microsoft Visio Drawing Object, and then select the Paste Link option.

5.
Click OK to paste the copied object.

6.
You can paste only one page at a time, so if you want to paste multiple drawing pages from Visio 2007, you’ll need to repeat this process for each page.

Editing a Linked Diagram

After you link a Visio 2007 diagram to another document, you can continue to work on the diagram. The document containing the link will reflect your changes.

To edit a linked Visio 2007 diagram, open the diagram in Visio 2007, make any changes you want, and then save the file with the same file name in the same folder. You can also edit the linked diagram from within the document to which it’s linked. To do this, double-click the diagram in the document. Essentially, you’ve just used a shortcut to start Visio 2007 and open the drawing; otherwise, you work in Visio 2007 exactly as you would if you had opened the application separately.

Updating a Linked Diagram

In most OLE client applications, linked objects are updated automatically each time you open the document. When you open the document, the application searches for each file referenced in a link and updates the appearance of the document to match the current version of the linked object. If the application can’t find the file, it will prompt you to locate it. Even when a linked object is set to update automatically, you can manually update the link at any time to reflect changes you’ve made in the diagram.

If you expect to edit your original Visio 2007 diagram frequently and won’t always have access to it from the linked document, you might want to set the object to manual linking, rather than to automatic. That way, you won’t receive prompts to locate the file every time you open the document. If you do set a link for manual updating, make sure you actually update the link before you print or publish it so that changes you’ve made to the diagram are reflected in the document.

To update a link manually in most OLE-compatible applications, follow these steps:

1.
Right-click the linked Visio 2007 object in the document, and then choose Edit, Links to display the Links dialog box.

Depending on the application you’re working in, the dialog box might not exactly match the illustration that follows. If you don’t see this command in your application, refer to its documentation for links management commands.

2.
Select Manual Update, and then click OK.

3.
To update the link manually, choose Edit, Links.

4.
Select the Visio 2007 source file, and then click the Update Now button.

Note

You can manually update a link at any time whether you’ve chosen the automatic or manual update method.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset