Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting a 10 second timer in excel

Status
Not open for further replies.

njwcad

Technical User
Oct 16, 2002
156
GB
Hello can anyone help

Is it possible to set a 10 second timer in excel that delays conditional formatting of one cell by 10 seconds following a result from another cell using VB code


Any help would be greatly appreciated

Many Thanks
 


Hi,

Check out the Timer function
Code:
    Dim t As Date, dur As Integer
    t = Timer
    dur = 10
    Do While t + dur > Timer
       DoEvents
    Loop
    'now format the range


Skip,

[glasses] [red]Be Advised![/red] A chicken, who would drag a wagon across the road for 2 cents, is…
POULTRY in motion to PULLET for a PALTRY amount! [tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top