S
Sabosis
Hello-
I have a workbook that send out department stats out every hour to our
management team. I need to add something (might be an IF statement) to
run a seperate code if two conditions exist:
The computer time is 9:05
The value of cell a6 is <0.03
If those conditions exist I would need to call a macro named
SendStats3, a special macro that will alert our department admin via
email that we need additional reporting done.
I looked into the Application.ontime function but could not see how to
apply it. Also, does it matter what the "seconds" are on the computer
time? I did not want the computer time to need to be exact down to the
second, just as long as the clock on the PC says 9:05.
Thanks in advance for any help that you might offer up.
Scott
I have a workbook that send out department stats out every hour to our
management team. I need to add something (might be an IF statement) to
run a seperate code if two conditions exist:
The computer time is 9:05
The value of cell a6 is <0.03
If those conditions exist I would need to call a macro named
SendStats3, a special macro that will alert our department admin via
email that we need additional reporting done.
I looked into the Application.ontime function but could not see how to
apply it. Also, does it matter what the "seconds" are on the computer
time? I did not want the computer time to need to be exact down to the
second, just as long as the clock on the PC says 9:05.
Thanks in advance for any help that you might offer up.
Scott