Hi All,

I am wanting a timer to run in Excel, which starts running when the user stops using the spreadsheet. After 10 minutes, the timer will automatically close the workbook.

I have the code for the timer (using API), but am struggling to find a way whereby you know that the user is no longer using the sheet.

I have thought of "keydown" or similar, but this would have to be entered into each sheet I think (a bit messy).

I have looked through the options from "This workbook", but none relate to Excel loosing focus.

Can anyone help me please?!?!

Cheers,

Paul.