When I try following codes, there is error on this line.
Do you have any suggestions on how to fix it?
Thanks in advance for any suggestions
Eric
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.OnTime dTime, "MyMacro", , False / Error in this line
End Sub
"Dave Peterson" wrote:
Chip Pearson's site explains it:
http://www.cpearson.com/excel/OnTime.aspx
Eric wrote:
Does anyone have any suggestions on how to set macro to run every 15 minutes?
Thanks in advance for any suggestions
Eric
--
Dave Peterson
.