Oh no, it is not a UDF. Either add a button to the worksheet and assign the function to that button, or run it directly from the VBIDE.

(I suppose a UDF might have worked, didn't think of that).