Applying Selected DataGraphic to the Whole Document

A recent newsgroup question asked if there is a way to apply a DataGraphic to all pages in a document.  Well, there is no built-in option in Visio 2007 (or Visio 2010), but it can be done with a little bit of VBA.  This blog presents a macro that can be used in most cases.

The specific use case was for an Organization Chart that has many pages, and it can be really tedious to make each page active, select all the shapes, then apply a DataGraphic, so I have written a macro that allows you to apply the required DataGraphic to a single shape, then you select that shape; run the macro to apply the same DataGraphic to all shapes in the document that has a Shape Data row with the same name as the the first Shape Data row in the selected shape.

The screenshots are from the Visio 2010 Beta, but the code will work for Visio 2007 Professional edition too.

image

Before

Read the rest of this entry »

visViewer Update

Microsoft recently retired Visio Viewer 2002 and 2003, and forced a security patch of Visio Viewer 2007 (see http://blogs.msdn.com/visio/archive/2009/12/28/updates-regarding-the-visio-viewer.aspx for more details).  This affected my free visViewer wrapper application.  Therefore, I have updated my visViewer application, which you can download from http://www.bvisual.net/Products/visViewer.aspx .

image

And yes, I will soon be creating a 3rd edition to work with Visio Viewer 2010!

Follow

Get every new post delivered to your Inbox.

Join 247 other followers