caritx
New Member
- Joined
- Dec 1, 2009
- Messages
- 34
Hi All,
I hope you can save me today. I am trying to run http://www.ozgrid.com/Excel/run-macro-on-time.htm in excel 07 but I can't seem to make it work and I am ready to cry.
In Thisworkbook code I have the following:
Private Sub Workbook_Open()
Application.OnTime TimeValue("17:00:00"), "MyMacro"
End Sub
In regular modules I have this:
Sub MyMacro()
'
' Macro5 Macro
'
Application.OnTime
TimeValue ("17:00:00"), "MyMacro"
Call Bank_format_print
End Sub
I hope you can save me today. I am trying to run http://www.ozgrid.com/Excel/run-macro-on-time.htm in excel 07 but I can't seem to make it work and I am ready to cry.
In Thisworkbook code I have the following:
Private Sub Workbook_Open()
Application.OnTime TimeValue("17:00:00"), "MyMacro"
End Sub
In regular modules I have this:
Sub MyMacro()
'
' Macro5 Macro
'
Application.OnTime
TimeValue ("17:00:00"), "MyMacro"
Call Bank_format_print
End Sub