Dropping a Stencil Using VBA

M

MikeM

I created a stencil named "New Shapes" with "Shape 1", "Shape2", etc. on it.
I'd like to use VBA to drop a shape on Page-1. I assume that I can locate
where the shape goes using

ActivePage.Shapes("Shape 1").Cells("PinX") = 1
ActivePage.Shapes("Shape 1").Cells("PinY") = 1
ActivePage.Shapes("Shape 1.1").Cells("PinX") = 1
ActivePage.Shapes("Shape 1.1").Cells("PinY") = 1

etc., but I haven't found out how to get them on the page using VBA. Can
anyone help, or point me to the pages in the "Developing Visio Solutions"
manual or in any other reference book. I'd like to start learning how to use
it, since this program is terrific -- but complicated!

Mike
 

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