Question : vba declare 64-bit ptrsafe
Answered by : vastemonde
#If VBA7 And Win64 Then Private Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
#Else Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
#End If
Source : | Last Update : Sat, 20 Mar 21