This is a very basic way to make a delay that someone new to VB might be able to use.
Delay
delayTime = 0.0000116 * t 't is the number of seconds the delay will last
tempTime = Time
Do Until Time > tempTime + delayTime
DoEvents
Loop
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.