UDF Locations instructions - Module and Add-Ins
If a UDF is not placed in the Spreadsheet module it will not be available to other people when you send the spreadsheet around.
To add a module;
- open VBA Editor alt+F11
- Insert Module
- Paste the UDF and Save.
It is now available in your spreadsheet.
If you want the UDF available in ALL your spreasheets;
- create a new workbook
- open VBA Editor alt+F11
- Insert Module
- Paste the UDF
- Save the workbook as an ExcelAddin (.xlam) and close
- Goto Office Button / Excel Options / Add-Ins / Manage: Excel Add-ins > Go...
- Browse and Navigate to your new .xlam file
- Select it from the list . OK
Be aware it will not be available if you email the spreadsheet to someone.
Posted Feb 23, 2015, 12:18 AM UTC · edited
10