Automatic refresh

52 Views Asked by At

I have a problem with my file. In Visual Basic I have this code:

Sub Workbook_Open()
Application.OnTime TimeValue("01:00:00"), Procedure:="MyCode"
Application.OnTime TimeValue("02:00:00"), Procedure:="MyCode2"
Call MyCode2
End Sub

This code doesn't refresh my file at 01:00:00. This code doesn't "call" MyCode2. I don't have any bugs or errors. When I run my code manually, it works.

0

There are 0 best solutions below