The called workbook (or addin) must be open.
(if it's referenced it will be opened automatically)
IF it's NOT referenced:
Run "MyFunctions.xla!sayhi"
Dim v
v = Run("MyFunctions.xla!doublethis", Range("a1"))
If you added a reference to that workbook in Tools/References
then you'd call it like any other procedure in the workbook.
(Note you have to rename the Project in the referenced workbook
so it wont conflict with the "calling" workbook's project name.
Assume the project in MyFunctions.xls is named prjFunctions
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.