Solved

Timer and Delaying

Posted on 1998-09-14
2
201 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
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

679 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