VB and Visio

M

Mike Reilly

I know a little VB and would like to manipulate some basic shapes in visio
using VB. Can you point me to a good resource for a beginner such as myself?
 
D

David Parker

The Visio SDK is a free download.
It contains code examples and the developer reference
 
P

Philippe C.

Sub LookInSelection()
' I think this Sub is a good can opener
' for learning Visio VBA
Dim sel As Visio.Selection
Dim shp As Visio.Shape
' only ActiveWindow has selection
For Each shp In ActiveWindow.Selection
MsgBox shp.ID & " " & shp.NameU
Debug.Print shp.ID & " " & shp.NameU
Next shp
End Sub
 

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