Results 1 to 2 of 2

Thread: Delay function

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2001
    Posts
    44

    Question

    Hi,

    Wich function shell i use to do x seconds delay on my code?

    Thanks.

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    use the Timer function
    Code:
    x = Timer
    
    Do Until Timer > x + 2 'whole seconds
      DoEvents
    Loop
    
    'continue with rest of code
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

Posting Permissions

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



Click Here to Expand Forum to Full Width