Having failed to resolve the problem I had running Word VBA routine from within an Excel VBA routine. I opted to run the sub externally in word by using Call wdApp.Run(..... and passing the values to the Word sub from the Excel sub.
The macro in Word searches for certain phrases. It works but.. The problem now is how to pass the outcome of the search back to the Excel Sub.
Subprocedure doesn't return a value. Make it aFunction. - Mathieu GuindonCallis absolutely redundant. Remove it and towdApp.Run ...instead (no parens) ..to invoke aSub. What you'll want isresult = wdApp.Run(...)(with the parens). - Mathieu Guindon