Hi there!
How can be automatically closed up a userform and the application, if there is no activity on it or on the workbook?
Many thanks!
Hi there!
How can be automatically closed up a userform and the application, if there is no activity on it or on the workbook?
Many thanks!
Good afternoon boboivan
This has been asked on the forum a couple of times :
http://www.excelforum.com/excel-programming-vba-macros/600241-excel-vba-close-workbook-after-inactivity.html
http://www.excelforum.com/excel-prog...-workbook.html
HTH
DominicB
Last edited by dominicb; 02-04-2015 at 11:00 AM.
Thank you for your quick answer!
It's my mistake not mentioning that when I open my application, my workbook gets hidden and it's opened only the userform.
I need a countdown code for the userform if inactive and when the userform gets automatically closed to shut down the application too.
I've made my research in this matter, but I couldn't find anything suitable.
I'm not very good with the VBA.
Thank you again.
Hi boboivan
With a nod to Mr Loz for shamelessly plagarising his code, something like this should work OK :
In your Userform module :
In a regular module :![]()
Please Login or Register to view this content.
HTH![]()
Please Login or Register to view this content.
DominicB
Works great!
Thank you sir!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks