You can create a macro as "Add-in", save it on your computer and you can use that "add-in" as excel function on any excel.