+ Reply to Thread
Results 1 to 2 of 2

VBA Code execution delay

  1. #1
    Raas
    Guest

    VBA Code execution delay

    I am now at a point in my school project that I need to draw polygons
    automatically, one every three seconds. I can do a "For" loop, but I need to
    delay the code for three seconds before starting the loop again. Is there
    any way to "pause" execution and then have it start up again on its own?
    --
    Raas

  2. #2
    bpeltzer
    Guest

    RE: VBA Code execution delay

    Application.Wait (Now() + TimeValue("0:00:03"))

    "Raas" wrote:

    > I am now at a point in my school project that I need to draw polygons
    > automatically, one every three seconds. I can do a "For" loop, but I need to
    > delay the code for three seconds before starting the loop again. Is there
    > any way to "pause" execution and then have it start up again on its own?
    > --
    > Raas


+ 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