Home

Excel Start run macro

boboreilly
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
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies