Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.setup
|
|||
|
|||
Automatically Run macro
Hi All,
I have a cell in my Sheet which shows the last updated date ( E11), Now i have macro coded which sents email from Macro if the difference last updated date and todays date is more than 2, I have a cell E12 where I enter todays date and my Email macro gets activated, my email macro is working fine Only problem is that I have to enter the date on that cell manually for the macro to execute, if i use today() function, it does not activate the macro automatically. Is there any way i can automate the email sending process if the difference between E11 and E12 is more than 2. i want the email to be send automatically once the dates changes in E12 at midnight, I do not have to enter the date manually in E12. PS: today() function in E12 not working Any help? |
#2
Posted to microsoft.public.excel.setup
|
|||
|
|||
Automatically Run macro
=TODAY()
will not trip the Change event. Try the Activate event; you don't need to use E12, just have the macro compare NOW with E11. -- Gary's Student "Anift" wrote: Hi All, I have a cell in my Sheet which shows the last updated date ( E11), Now i have macro coded which sents email from Macro if the difference last updated date and todays date is more than 2, I have a cell E12 where I enter todays date and my Email macro gets activated, my email macro is working fine Only problem is that I have to enter the date on that cell manually for the macro to execute, if i use today() function, it does not activate the macro automatically. Is there any way i can automate the email sending process if the difference between E11 and E12 is more than 2. i want the email to be send automatically once the dates changes in E12 at midnight, I do not have to enter the date manually in E12. PS: today() function in E12 not working Any help? |
#3
Posted to microsoft.public.excel.setup
|
|||
|
|||
Automatically Run macro
Why not use Ontime to set a macro to run at midnight?
-- HTH Bob Phillips (replace xxxx in the email address with gmail if mailing direct) "Anift" wrote in message ... Hi All, I have a cell in my Sheet which shows the last updated date ( E11), Now i have macro coded which sents email from Macro if the difference last updated date and todays date is more than 2, I have a cell E12 where I enter todays date and my Email macro gets activated, my email macro is working fine Only problem is that I have to enter the date on that cell manually for the macro to execute, if i use today() function, it does not activate the macro automatically. Is there any way i can automate the email sending process if the difference between E11 and E12 is more than 2. i want the email to be send automatically once the dates changes in E12 at midnight, I do not have to enter the date manually in E12. PS: today() function in E12 not working Any help? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do I email amacro? | Excel Worksheet Functions | |||
How to stop Excel remembering/loading macro from previously opened Workbook | Excel Discussion (Misc queries) | |||
Macro to tick checkbox automatically | Excel Discussion (Misc queries) | |||
How do I create a macro that will automatically input lines? | Setting up and Configuration of Excel | |||
enter data in cell then run macro automatically | Excel Discussion (Misc queries) |