Tip Printed from ExcelTip.com
Userdefined functions from other workbooks using VBA in Microsoft Excel
You can use a userdefined worksheet function (UDF) from another workbook like this:
=OtherWorkbookName.xls!FunctionName(A1)
If you add a reference in the VBE (press Alt+F11 to open) to the other workbook with the UDF's,
you can reference the functions like this:
=FunctionName(A1)
If you make an addin out of your workbook with the UDF's, you can reference the functions
like this without creating any references (the add-in must be installed in order for the function to work):
=FunctionName(A1)