View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default 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?