S
Steve Caiels
Hi, I have an external process that creates a script in a text file. If I
paste it into the project editor, it runs fine and creates the desired flow.
But I'd like to run it directly from the .bas file.
In Excel you can use :
Excel.Application.VBE.ActiveVBProject.VBComponents.Import ("External.bas")
Excel.Application.Run ("External")
But I can't get the equivalent going in Visio.
Can anyone tell me how to execute a simple script like the one below, stored
in an external text file please?
……
Private Sub External()
OK = MsgBox("External", vbOKCancel)
End Sub
……
Thanks,
Steve.
paste it into the project editor, it runs fine and creates the desired flow.
But I'd like to run it directly from the .bas file.
In Excel you can use :
Excel.Application.VBE.ActiveVBProject.VBComponents.Import ("External.bas")
Excel.Application.Run ("External")
But I can't get the equivalent going in Visio.
Can anyone tell me how to execute a simple script like the one below, stored
in an external text file please?
……
Private Sub External()
OK = MsgBox("External", vbOKCancel)
End Sub
……
Thanks,
Steve.