You are on page 1of 1

#If VBA7 Then

Public Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) 'For
64 Bit Systems
#Else
Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) 'For 32 Bit
Systems
#End If

Sub MatrixNumberRain()
i = 1
Do While i <= 40
DoEvents
Range("AR1").Value = i
i = i + 1
Sleep 50
Loop
End Sub

You might also like