Press Alt+F11 to open the VBA editor.
Click on the drop down buttons next to your workbook name if it is not already open then double click on "ThisWorkbook".
Now there should be "code" in the big frame on the right.
Could be that your workbook uses other code in there, but the culprit should look something like :
Copy all of the code on that window and reply here with that. Remember to use code tags when pasting it. Then someone can have a look at it for you.
A simpler solution would just be to attach your workbook here. Remember to remove any sensitive information from your workbook before hand.
good luck.
Bookmarks