Go to the VBIDE, ALt-F11

Insert a code module, menu Insert>Module

Copy the code into the code-pane that appears

Go back to Excel, ALt-F11

Hit Alt-F8 to get the macro dialog, select ProcessData from the list, and hit Run