Obtain shape name automatically

S

Sach

Hi,

I have a list of shapes on a diagram, all of these shapes have a set of
custom properties. Device name is a field in the custom properties, i would
like to run a script that lists the device name for all the shapes in a
diagram, and saves this to a file. Any ideas???
 
A

AlEdlund

Does it have to be vba? Visio does have a report function that can work with
shape data (custom properties). Vinally the visio sdk has routines on how to
read custom properties, all you have to do is wrap it in a loop. For the
stuff that I don't do day-to-day I go over to the technet scripting forum
(technet.microsoft.com). You might check this out
http://www.microsoft.com/technet/scriptcenter/scripts/misc/text/mstxvb01.mspx
since vbscript is very close to vba in syntax and operation.

al
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top