Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a macro to send an automated email when passwords need renewing. This
all works fine, but what i want to do is set up another macro to run automatiocally at 00:00:01 to check if any passwords need changing. What i have so far is this:- Sub CheckDay() Application.OnTime TimeValue("17:00:00"), "my_Procedure" Range("D7:D30").Select If Range = 5 Then Sub SendEmail() Else End If End Sub So what i want is if a cell in range D7 - D30 is 5 then sub the macro SendEmail. For some reason it is not workign and i can't work out why. Any help would be much appreiciated. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I use wildcards in IF statements and Macros | Excel Discussion (Misc queries) | |||
Excel 2007 macros - how to merge 5 macros together into one | Excel Discussion (Misc queries) | |||
IF Statements (Mutliple Statements) | Excel Worksheet Functions | |||
Training: More on how to use macros in Excel: Recording Macros | Excel Worksheet Functions | |||
How do i start Macros using IF statements? | Excel Discussion (Misc queries) |