Excel Start run macro

Occasional Visitor

I have a spreadsheet with a macro that needs to be updated every day. It would be great if this could happen at say 6AM daily, the macro run. This way when users come to work the spreadsheet will up to date. Any suggestions.



1 Reply
Here you go .. please run the below code.

Private Sub Workbook_Open( )
Application.OnTime TimeValue("06:00:00"), "Your Macro"
End Sub

Here is the link for more info ...
Related Conversations
Clear Pivot Table Cache during loop execution
ldbjr138 in Excel on
0 Replies
Sum by color
horton135 in Excel on
1 Replies
Get Stock Prices Function - Excel 365 on Mac
GW1980 in Excel on
2 Replies