Skip to content

Instantly share code, notes, and snippets.

@muramoto1041
Created June 4, 2020 07:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muramoto1041/3a4ed8324eb9a813e06f7bad60e3373f to your computer and use it in GitHub Desktop.
Save muramoto1041/3a4ed8324eb9a813e06f7bad60e3373f to your computer and use it in GitHub Desktop.
excel_2.vba
Declare PtrSafe Function SetTimer Lib "user32" (ByVal hwnd As Long, _
ByVal nIDEvent As Long, _
ByVal uElapse As Long, _
ByVal lpTimerFunc As LongPtr) As Long
Declare PtrSafe Function KillTimer Lib "user32" (ByVal hwnd As Long, _
ByVal nDEvent As Long) As Long
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment