Hi,
I want to know if its possible to auto-run a macro if there was no mouse or keyboard event for say 2mins. I have a code working to record system idle time in total but that gives me endless counts by end of the day as it records every 2 mins.once user logs in to the form.
I instead want to trigger the macro only when user is not using keyborad or mouse for more than 2 mins.
Below code: Paste it in a module, Open the immediate window and run printidletime1. Every 2 mins you would see time stamps in "sheet1".
Bookmarks