請問各位大大,我想在自製表單中能夠使用SLEEP函式
語法如下:
#If VBA6 Then
Declare Sub Sleep Lib "kernel32" (Optional ByVal dwMilliseconds As Long = 1000) 'For 32 Bit Systems
#Else
Declare PtrSafe Sub Sleep Lib "kernel32" (Optional ByVal dwMilliseconds As Long = 1000) 'For 64 Bit Systems
#End If