
Overview of time delay code
Below is code listing for time delay in Visual Basic for Applications (or VBA). Basically, it pauses a program for a certain amount of seconds. So for ten seconds, you would enter TimeDelay(10).
Private Sub TimeDelay(secs As Integer)
Dim startTime
startTime = Timer
Do While Timer < startTime + secs
DoEvents
Loop
End SubRelated
- Bubble Dip Match Game Scores
- Create Random Titles and Meta Descriptions using PHP
- Draw Statement – BASIC Reference
- Show Developer Ribbon in Excel – How to
- The Graphics Power Diskette (1996 Demo)
Discover more from Techronology blog
Subscribe to get the latest posts sent to your email.