Userdefined functions from other workbooks

 2002-07-17    Functions    0    63

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)


Leave a comment:

Your comment will only be published after it has been moderated and found spam free.
Your e-mail address will only be used to display your Gravatar.