|  

» 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)


Rate This Tip
12 34 5
Rating: 3.00     Views: 15589
No comments have been submitted.
Click here to post comment
For Registered Users
Name
Comment Title
Comments