nuked
Well-known Member
- Joined
- Mar 20, 2013
- Messages
- 883
Hi All,
I currently have a routine (Excel 2007) that opens another workbook (Excel 2003) and runs a routine within it:
Is it possible to pass parameters to MyRoutine, and, be able to get a return value using application.run method? I'm struggling with the syntax.
If it's not possible, is there an alternate way to do this? Perhaps a class module? Can a workbook instantiate an object in it's scope that is defined in another workbook?
Thanks
I currently have a routine (Excel 2007) that opens another workbook (Excel 2003) and runs a routine within it:
Code:
Application.Run "MyWorkbook.xls!MyRoutine"
Is it possible to pass parameters to MyRoutine, and, be able to get a return value using application.run method? I'm struggling with the syntax.
If it's not possible, is there an alternate way to do this? Perhaps a class module? Can a workbook instantiate an object in it's scope that is defined in another workbook?
Thanks