ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VB code still runing (https://www.excelbanter.com/excel-programming/297941-re-vbulletin-code-still-runing.html)

Bob Phillips[_6_]

VB code still runing
 
Ontime is an application method, so closing the book doesn't stop it.

Add a timer stop in the workbook before close event.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"DVallier" wrote in message
...
I have VB code timer that shuts down a workbook after awhile. But if you

close it early while any other workbook is open, the time (and code) still
runs. I know this because the workbook re-opens when the timer runs out -
only to close it.
Has anyone run into this?





All times are GMT +1. The time now is 02:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com