+ Reply to Thread
Results 1 to 3 of 3

OnTime

Hybrid View

jimmike1 OnTime 02-01-2006, 08:48 PM
Guest Re: OnTime 02-01-2006, 10:45 PM
jimmike1 Norman Thanks for your... 02-02-2006, 12:31 PM
  1. #1
    Registered User
    Join Date
    02-01-2006
    Posts
    4

    OnTime

    I'm sure this has been asked many times before.

    Sub TimeTrigger()
    Application.OnTime TimeValue("1700:00"), "UpdateDates"
    End Sub

    "UpdateDates" is a procedure that works fine on its own. But the OnTime method fails to call it. Why? I'd appreciate any help. Thanks

  2. #2
    Norman Jones
    Guest

    Re: OnTime

    Hi Jimmike1,

    Your code worked for me, once i changed:

    TimeValue("1700:00")

    to

    TimeValue("17:00:00"),


    ---
    Regards,
    Norman



    "jimmike1" <jimmike1.22ku1a_1138841402.0015@excelforum-nospam.com> wrote in
    message news:jimmike1.22ku1a_1138841402.0015@excelforum-nospam.com...
    >
    > I'm sure this has been asked many times before.
    >
    > Sub TimeTrigger()
    > Application.OnTime TimeValue("1700:00"), "UpdateDates"
    > End Sub
    >
    > "UpdateDates" is a procedure that works fine on its own. But the
    > OnTime method fails to call it. Why? I'd appreciate any help. Thanks
    >
    >
    > --
    > jimmike1
    > ------------------------------------------------------------------------
    > jimmike1's Profile:
    > http://www.excelforum.com/member.php...o&userid=31076
    > View this thread: http://www.excelforum.com/showthread...hreadid=507511
    >




  3. #3
    Registered User
    Join Date
    02-01-2006
    Posts
    4
    Norman Thanks for your reply. I'll try it

+ Reply to Thread

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