It does, Alt+F11 to launch the VB Editor, click on your workbook name at the left, then insert a module. Paste the code in, make any necessary changes and then close the window.
I always recommend doing this in a copy of your file before running the macro. You cannot undo anything done by a macro, and some unexpected things can happen.