Forum Discussion
HKosova
13 years agoSmartBear Alumni (Retired)
Hi Amy,
You need to add the USEUNIT directive to the main unit:
You need to add the USEUNIT directive to the main unit:
Then, you can call routines from this unit using VBScript's Execute statement and Eval function, like this:Execute "Unit2.SubName"
result = Eval("Unit2.FunctionName")
See Calling Routines and Variables Declared in Another Unit for details.
Related Content
- 2 years agoianlop
Recent Discussions
- 3 hours agotramuntana
- 2 days agoSlickRick