iknowu99
Well-known Member
- Joined
- Dec 26, 2004
- Messages
- 1,158
- Office Version
- 2016
i'm trying to declare first two variables but it's showing up as error and font is in red:
and yea thanks to: http://www.cpearson.com/excel/OnTime.aspx
because first one works...just trying to explore using windows timer
Code:
Public Declare Function SetTimer Lib "user32" ( _
ByVal HWnd As Long, _
ByVal nIDEvent As Long, _
ByVal uElapse As Long, _
ByVal lpTimerFunc As Long) As Long
Public Declare Function KillTimer Lib "user32" ( _
ByVal HWnd As Long, _
ByVal nIDEvent As Long) As Long
and yea thanks to: http://www.cpearson.com/excel/OnTime.aspx
because first one works...just trying to explore using windows timer