Auto Close if inactive for set time

  • Thread starter Thread starter pauluk
  • Start date Start date
P

pauluk

Is there a way to automaticly close a sreadsheet if it has been inactiv
for 10 minutes
 
Look at Chip Pearson page on using Application.Ontime

http://www.cpearson.com/excel/ontime.htm

There is no built in way to do it. You would have to use the change event
to cancel the current ontime event (to close the workbook) and schedule
another one 10 minutes hence. If the change event didn't fire in 10
minutes, then the time would be reached and the macro assigned to the ontime
event would be fired and close the workbook.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top