M
Michael
I am using Visio 2000 Pro (so commandbar from Visio 2002 doesn't help me)
and have done a lot of reading on the newsgroups, so thanks for all answers
to questions I hadn't come up with
What I can't find is how to run / reference a macro in a stencil (vss), I
read macros can be stored in stencils so code doesn't get
scattered to every drawing.
So I have a stencil called MyStencil.vss in it a function called MyFunction,
but how do I call this from for example a shapesheet?
If the macro is in the drawing I do: EventDblClick
=runaddon("ThisDocument.MyFunction")
I tried: runaddon("MyStencil.ThisDocument.MyFunction") and
runaddon("MyStencil.MyFunction")
but no success so please some pointers!!!
Another function I want to run when the user presses a button, so I took a
graphic added it to the drawing and then on double click fire the macro, can
this also be done by adding a button to the commandbar? If so some pointers
please...
(I am not on 2002 and have read it's commandbar function, but that is not in
2000)
Thanks in advance,
Michael Dag
and have done a lot of reading on the newsgroups, so thanks for all answers
to questions I hadn't come up with
What I can't find is how to run / reference a macro in a stencil (vss), I
read macros can be stored in stencils so code doesn't get
scattered to every drawing.
So I have a stencil called MyStencil.vss in it a function called MyFunction,
but how do I call this from for example a shapesheet?
If the macro is in the drawing I do: EventDblClick
=runaddon("ThisDocument.MyFunction")
I tried: runaddon("MyStencil.ThisDocument.MyFunction") and
runaddon("MyStencil.MyFunction")
but no success so please some pointers!!!
Another function I want to run when the user presses a button, so I took a
graphic added it to the drawing and then on double click fire the macro, can
this also be done by adding a button to the commandbar? If so some pointers
please...
(I am not on 2002 and have read it's commandbar function, but that is not in
2000)
Thanks in advance,
Michael Dag