+ Reply to Thread
Results 1 to 2 of 2

use of Application.ontime

  1. #1
    Registered User
    Join Date
    04-30-2009
    Location
    tokyo
    MS-Off Ver
    Excel 2016
    Posts
    42

    use of Application.ontime

    Hello,
    This (see below) is an example of the use of Application.OnTime RunTime.
    It is supposed the wait for 10 seconds and increment sheet1.cells(1,1).value by 15.
    It does not. What am I missing?
    Once it works with "00:00:10", I was hoping to replace "00:00:10" by a string that is the result of the concatenation of h:m:s that a user could input. Is this possible? Do I need to add chr$(34) at the beginning and the end? i.e. is aa going to work as is or aa=chr$(34)+aa+chr$(34)?

    Please advise

    Thank you


    CODE ------------------------------START------------------------
    Please Login or Register  to view this content.
    CODE---------------------- STOP ---------------------------------
    Last edited by Cutter; 08-14-2012 at 09:58 PM. Reason: Added code tags

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: use of Application.ontime

    @ katto01

    Please notice that code tags have been added to your post(s). The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at top of the page and read Rule #3.
    Thanks.

+ 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