Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is a plain jane version with a couple bells and whistles.
Private Sub Worksheet_Change(ByVal Target As Range) Dim i As Integer i = Range("F1").Value + 1 Range("F1").Value = Range("F1").Value + 1 Application.EnableEvents = False CreateObject("WScript.Shell").Popup "Some stupid message" _ & vbCr & "timed for 5 seconds!" _ & vbCr & "And you have run this macro " _ & vbCr & i & " times", _ 5, "Change this name to suit you!" Application.EnableEvents = True End Sub HTH Regards, Howard "ruhan" wrote in message ... How do I set up timer for sheet? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
timer for sheet | Excel Programming | |||
macro running on timer fails to select proper sheet | Excel Programming | |||
Stopping a Timer / Running a timer simultaneously on Excel | Excel Discussion (Misc queries) | |||
timer | Excel Programming | |||
Excel Timer with Sheet Toggle Help | Excel Programming |