I need a Macro to run automatically every night at midnight.
At the moment my code is
Sub AutoUpdate()
Application.OnTime TimeValue("00:00:00"), "ThisWorkbook.FindAllAddresses"
End Sub
However I need to actually run this code to get it to execute at the set time. How do I alter it to automatically run every night?
Zoot
At the moment my code is
Sub AutoUpdate()
Application.OnTime TimeValue("00:00:00"), "ThisWorkbook.FindAllAddresses"
End Sub
However I need to actually run this code to get it to execute at the set time. How do I alter it to automatically run every night?
Zoot