There is a "TimerInterval" property you can set to any value you want. For example, you could set it in a SwitchTo event for a form view switch that occurs via a macro named OPEN when your APR is opened:
' Set the timer interval for the current view to 15 seconds.
CurrentApplication.ActiveView.TimerInterval = 15000
When the TimerInterval expires, the "UserTimer" event is raised for the same view you started it on, so you can put code in that event to check for activity and either close or simply reinitialize the timer.
The main problem with this technique is determining whether the user is still active. So most people who use this technique simply check the current time and if it is after say 8PM, they close the APR. Another method if the interval is set to something like 20 minutes so as to not annoy the user is to pop up a dialog with a message asking the user if they want to continue and give them a couple of minutes to respond. If they do not, close the APR.
Sue Sloan
XpertSS.com