ThankÂ´s for your reply.
ThatÂ´s the normale way of getting a access to the item that creates the click.
But I started this macro from a shape->format->behavior->double-click->start
macro. There you can start any public VBA-code from VisioÂ´s VBA. But I canÂ´t
give them any transfer parameter. And if I create a code like you show below,
you will get an fault message. It is funny, there is a property for the
activewindow and for activepage in visio, but there is no property for the
active shape/item .....!!
I create a not nice work-around. I have to push one button that starts my
VBA script and looks to all shape on the page, but thatÂ´s not perfect.