Add a form control button and assign the macro 'Count' to it.
Then add this code into a standard module, the line Sleep 1000 delays the
update by 1000 milli seconds, change this as required...
Option Explicit
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Sub Count()
Dim iC As Long
With ActiveSheet
For iC = 1 To .Range("A1")
Sleep 1000
.Range("A2") = iC
Next
End With
End Sub
--
Regards,
Nigel
"neilb" wrote in message
...
I have a cell which has a number entered into it. I want to be able to use
a
different cell to count upto that cell at the press of a key command... is
this possible?
example:
cell A1 = 12
Cell A2 should read cell A1 and count from 1 to 12 after a key command