Solved

Timer and Delaying

Posted on 1998-09-14
2
202 Views
Last Modified: 2010-04-30
I want to delay somthing from running for a matter of minutes or hours. The timer function only allows 1 minute max. How can I delay somthing for longer?
0
Comment
Question by:bradsoblesky
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
mark2150 earned 0 total points
ID: 1434820
Simple enough
Just count off the minutes/seconds in a global var.

PRIVATE SUB Timer()
COUNT = COUNT + 1
IF COUNT > DELAY THEN
.
ENDIF
END SUB
0
 

Author Comment

by:bradsoblesky
ID: 1434821
Too easy, I feel like a moron. Thanks
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Determine Range to Select 5 64
How to Add / Edit Windows Menu 4 82
MS Access 03, TransferText, decimal places 8 92
Set WorkSheet  not Working 9 62
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question