1. Write the function in a module in VBA (Make sure it is Public).
2. Save the excel file as an addin in your office\Library directory.
3. Go to Tools-Addins in excel and add your file. This function will then be available in every workbook you start or open.
You can place as many functions in the module as you like. so they will all be available by adding just one addin.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.