Check this

http://www.cpearson.com/excel/AppEvent.aspx