so I have a code for a macro and everytime I run, my excel freezes, Idk what to do anymore, please someone could help me
CODE:
CODE:
VBA Code:
Sub Atualizar()
Do
If Time < TimeValue("21:00:00") Or Time >= TimeValue("22:15:00") Then End
Rows(7).Insert
Range("A8:DG8").Value = Range("A5:DG5").Value
Application.Wait (Now + TimeValue("0:00:05"))
Loop
End Sub