S
Scott
I would like to open the shape data window for a selected object from VBA.
The code below opens the diaglog quite nicely, and if I change any data value
and click OK, all is well. However, if the dialog opens and I do not change
any data values but click either OK or Cancel, VBA reports: Run-Time error
'-2032466955 (86db03f5)'
Any idea why this happens or how to prevent it?
= = = = = = = = = = = = = =
Sub OpenShapeData()
Dim shpCurrent As Visio.Shape
Set shpCurrent = ActiveWindow.Selection.Item(1)
shpCurrent.Application.DoCmd (1312)
End Sub
The code below opens the diaglog quite nicely, and if I change any data value
and click OK, all is well. However, if the dialog opens and I do not change
any data values but click either OK or Cancel, VBA reports: Run-Time error
'-2032466955 (86db03f5)'
Any idea why this happens or how to prevent it?
= = = = = = = = = = = = = =
Sub OpenShapeData()
Dim shpCurrent As Visio.Shape
Set shpCurrent = ActiveWindow.Selection.Item(1)
shpCurrent.Application.DoCmd (1312)
End Sub