I have several User Defined Functions in workbooks someone sent me.
Can I copy those UDFs into my Function Library?
And can I create a new category?
For example, "Astronomy Functions" in the Function Library.
I can "link" (I guess you might call it that) by keeping two workbooks open and copying and pasting functions from one sheet to the other. But that requires both books to be open. Once I close the one with the source function, the functions disappear in the other sheet.
I tried copying one book into another and that didn't work, either.
Thanks, Scott
Last edited by Scott S.; 11-24-2011 at 07:57 PM.
You could just copy and paste the code. Or export the module from the source and import it to the target workbook.
Regards
OK, so it's possible.
I'm no excel genius, so, could someone explain how I might get started on doing that?
Open both workbooks. Press Alt-F11 to open the VBE.
Navigate to the module with the UDFs in the source workbook.
Select and copy the code.
Navigate to the equivalent module in the target workbook.
Paste the UDF code.
Close the workbook(s).
Done.
Regards, TMS
Cool.
Thank you very much.
You're welcome. Thanks for the rep.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks