Re: Running macro's from within VB Studio 2005 forms Hello,
Here is the syntax for declaring RetVal variable: Dim RetVal
Place this declaration at the beginning of procedure Macro1(). The text format of subroutine Macro1() would look something like this:
Sub Macro1()
Dim RetVal
RetVal = Shell("C:\Program Files\Workspace Macro Pro 6.5\ Workspace Macro Pro.exe Ed.wksp /u", 1)
End Sub
Hope that helps. |