Selct Shape with specific properties

E

eLiz

Hello,

I am using Visio 2003 and my VBA knowledge is yet not so good, so I hope, I
can find detailed help here.

I need to select a specific shape on each page. The values I have are the
Master.name and the PinX and PinY. I know how to go to all pages and how to
add shapes to the selection. But I do not know how I can scan all shapes for
one page and look for the properties and then select them?

What will be the syntax for this problem? I hope, somebody can help me.

Greetz eLiz
 
J

JuneTheSecond

Hi,

Code Libralian in the Visio2003 SDK,
there exist many good examples.

Any way to look all shapes on a page
the basic one is iterating using for each
sentence for example

for each objShape in activepage.shapes
do something
next

to look pinx.
dim dblX as double
dblX=ogjshape.cells("PinX") is
one of the ways.
 

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