Home

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.

 

Thanks

1 Reply
Highlighted
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 ...
https://www.brainbell.com/tutorials/ms-office/excel/Run_A_Macro_At_A_Set_Time.htm
Related Conversations
Issue with Power Query and Access database
MCL0001 in Excel on
0 Replies
Timezone now function office 365
Jhnijman in Excel on
2 Replies
Pivot table with percentage calculation
aditya1986 in Excel on
1 Replies
Compare Names on a List
Marcus2555 in Excel on
1 Replies
IF formula implementation with multiple logic
Nandhu19940 in Excel on
1 Replies
Saving error about excel functions
young1995 in Excel on
1 Replies