Delay

Sparkplug188 0 Tallied Votes 130 Views Share

This is a very basic way to make a delay that someone new to VB might be able to use.

delayTime = 0.0000116 * t   't is the number of seconds the delay will last                      
tempTime = Time

Do Until Time > tempTime + delayTime
   DoEvents
Loop