Thank you Andy - That worked a treat.

There was a function which changed the application.enableevents to false.

Many Thanks for Everybodies Help