📜  vba 声明 64 位 ptrsafe - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:57.662000             🧑  作者: Mango

代码示例1
#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