R
Rad
Hi,
how can I lunch a Visio 2003 macro that is in a stencil from VbScript?
Thanks,
Rad
how can I lunch a Visio 2003 macro that is in a stencil from VbScript?
Thanks,
Rad
Rad said:Thanks,
I am unable to excute it from VBScript:
' Set the variable (runs new instance of VISIO).
Set oVISIO = CreateObject("visio.Application")
set newdoc =oVisio.Document
set newdoc1 = oWord.Documents.Add("")
newdoc1.ExecuteLine("RS_Visio_Script.NewMacros.Macro2")
Would you please explain why it is not runing?
Thanks,
Rad