Missing BeforeShapeDelete event in VBA ThisDocument

J

John

Problem: Missing BeforeShapeDelete event in VBA ThisDocument

Visio 2007 SP2
Windows XP SP3

For VBA editor, ThisDocument has ShapeAdded which it created a
Document_ShapeAdded.

I then looked in the drop down list for BeforeShapeDelete, but it is not
there.

Where is it? Thanks in advance.
 
D

David J Parker [MVP Visio]

It's not missing ... it isn't there.
Look at the Visio.Application and Visio.Page objects ... they each have a
BeforeShapeDelete event.
 
J

John

Found it. Thanks for the feedback.

The old but usually useful Developing Visio Solutions for Microsoft Visio
2000 showed it being in Visio.Documents. They apparently removed it from
Documents.
 

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