I am working to refresh morningstar data in an excel 2016 file, and I found the following code online on the Morningstar VBA guide:
Public dTime As Date
Dim lNum As Long
Sub RunOnTime()
dTime = Sheet1.Cells(1, 1) 'change the cell reference here (Row #, Column #)
Application.OnTime dTime...