thinking about a neat way to call a DOCMD in VBA from a CALLTHIS in VBA.
Having ideally an easy way to inject the code in the VSD/VSDX ... or at least work from a template.
In the shapesheet you'd use a generic CALLTHIS(DOCMDx(parameter))
In a VBA module, there would be
public sub DOCMDx(shp as shape, param as integer)
DOCMD param
end sub
Useful?
Runmacro would do the same, without passing the shp as argument.