hi
I recently got help and added code to send a specific email if the date i run the process is before the 23rd.
now i bumped into a bug. i can run this prcess 2 x in a day once for current infor and once for past info and I dont want the emails to be sent 2x.
I am using a user form to input all parameters such as dte and run etc i can add a send emails check box but i dont know how to code it in the form and how to add that in my code
please help me
I recently got help and added code to send a specific email if the date i run the process is before the 23rd.
now i bumped into a bug. i can run this prcess 2 x in a day once for current infor and once for past info and I dont want the emails to be sent 2x.
I am using a user form to input all parameters such as dte and run etc i can add a send emails check box but i dont know how to code it in the form and how to add that in my code
please help me
Rich (BB code):
VBA Code:
<span>If</span> Day<span>(</span><span>Date</span><span>)</span> <span><</span><span>=</span> <span>23</span> <span>Then</span><br> <span>Call</span> SendExpirationEmails<span>(</span><span>False</span><span>)</span><br> <span>End</span> <span>If</span>