I have a function in a code unit that creates a word document. I want to return the word document object back to the calling function. Is this possible. I am using WordApp.ActiveDocument in the calling function at the moment to access the open word document but this does not always work. Is there a better way to get a handle on it. Thanks Debbie
There is no “Automation” return type (at least not in 2.60…). Use a VAR parameter of type Automation instead.