These are WORKSHEET macros, they go in the worksheet module itself.
Right-click on the sheet tab and select VIEW CODE.
The VBEditor will open and the SHEET MODULE will already be open. Paste in the code. Be sure to correct the "password" in the code to your password, or remove that portion (leave in the comma).
Press Alt-Q to close the editor and save your sheet. Now anytime you select that sheet, the pivottables on that sheet will all refresh.
Bookmarks