Results 1 to 4 of 4

turning off ON_TIME

Threaded View

  1. #1
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    turning off ON_TIME

    I have an ON_Time routine running. My book is in another county. How do I stop this thing from opening itself up and running. How do I stop a sub that has been set to run On_Time?

    Later edit:
    Cool down. I figured I could kill the reset start time part of the routine. The weirdness of a closed file opening itself threw me for a bit.

    To generalize

    if I have a sub
    Sub mySub() 
    ' some code 
    Application.OnTime earliesttime:=Now + TimeSerial(0, 0, 10), procedure:="mySub" 
    End Sub
    What code, in a different sub will tell excel to stop running mySub every 10 seconds.

    I also posted this on the other website.
    Last edited by mikerickson; 04-15-2007 at 12:56 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1