ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   macro (https://www.excelbanter.com/excel-programming/284227-macro.html)

madhan

macro
 

hi,
i have a problem i want to execute a macro on a particular time o
a day automatically

than

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

~~Now Available: Financial Statements.xls, a step by step guide to creating financial statements

mudraker[_49_]

macro
 

Application.OnTime TimeValue("07:10"), "Name Of Macro Here

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

~~Now Available: Financial Statements.xls, a step by step guide to creating financial statements

Edwin Tam (MS MVP)[_2_]

macro
 
For example, you want to run the macro "my_Procedure" at 14.15, ...

Sub auto_open()
Application.OnTime TimeValue("14:15:00"), "my_Procedure"
End Sub

Sub my_Procedure()
MsgBox "hello"
End Sub

Regards,
Edwin Tam


----- madhan wrote: -----


hi,
i have a problem i want to execute a macro on a particular time of
a day automatically

thanx


------------------------------------------------
~~ Message posted from
http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

~~Now Available: Financial Statements.xls, a step by step guide to creating financial statements



All times are GMT +1. The time now is 05:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com