A
Aidn
Please see code am using to add button on Visio page
Error message is "Active X component can't create object
Dim bttnObjs As OLEObjec
Set bttnObjs = Visio.ActivePage.OLEObjects.Add(ClassType:="Forms.CommandButton.1", Link:=False
, DisplayAsIcon:=False, Left:=5, Top:=5, Width:=10.75, Height:=10.5
This code is run via application, not via VBA inside visio
Any clue would be appriciated
Aidn
Error message is "Active X component can't create object
Dim bttnObjs As OLEObjec
Set bttnObjs = Visio.ActivePage.OLEObjects.Add(ClassType:="Forms.CommandButton.1", Link:=False
, DisplayAsIcon:=False, Left:=5, Top:=5, Width:=10.75, Height:=10.5
This code is run via application, not via VBA inside visio
Any clue would be appriciated
Aidn