Hi, coach.32,
if you want the action to take place once you deactivate the sheet for the action place this code behind the sheet (right-click on worksheet tab, choose View Code, code goes into the code window):
This code will only get fired once you are one the sheet and activate another one in the workbook.
If you want the ation to fire when you exit the workbook the code needs to be placed in ThisWorkbook:
This code will always save the workbook as well which you should take into consideration. You might also take action in the Workbook_BeforeSave-event.
Ciao,
Holger
Bookmarks