You could save the function in an Add-In (XLA file) See here