Solved

Timer and Delaying

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

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…

777 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