Getting a Masters BaseID from a Shape on a Page?

M

M@

Hey Forum,

I would like to get the BaseID of a Master, from a selected shape on the
page. Would anyone know how I might achieve this?

The shape will be selected, therefore: shpObj =
Visio.ActiveWindow.Selection.Item(1)
from this I would like to get the BaseID of its Master.

M@
 
A

Al Edlund

I use something like this

strShapeMasterID = CStr(visShape.Master.UniqueID)

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