hit Alt-F11 to open the VB editor. In the left hand navigation you will see a module for each sheet and a module called ThisWorkbook. Double-click that.