Hello together,
after Migration to Visio 2013 a double click event does not work as in the former Version. Double clicking on any grouped shape it should open the data of the grouped shape by using the command Application.DoCmd (visCmdFormatCustPropEdit)
I have been looking and trying around for quite some time but have not found any solution. At least I have a clue, why the macro does not work anymore. I think it is because I am using a group of shapes. When double clicking on the group the macro should open the Shape Data of the group but does not. It opens only the shape data of one of the shapes in the group, which has no data. Therefore, I get the message “no shape data available. Do you want to define new Shape data?
The macro code called is – reduced to the minimum:
Sub ShowShapeData(shpObj As Shape)
Application.DoCmd (visCmdFormatCustPropEdit)
End Sub
I tryed to somehow identify the group the shpObj is belonging to but could not succeed (unvortunately not the shapeobject itself but only its name is provided):
Set GroupedShape = shpObj.ContainingShape
GroupedShape.application.DoCmd (visCmdFormatCustPropEdit)
Do you have any idea. I’m very sporadic Visio programmer and a self learning VBA programmer, so please talk basic and give examples. I really would appreciate it.