This is a bit of a mixed request.
I have a button that needs pressing around 3-5pm every day. iF this button is not pressed by 5pm i want to send an email to 3 addresses as a warning "these can then be forwarded to sms's for a realtime alert. My idea so far is
1. if the button is clicked it alters cell a1 in alert.xls workbook from "1" to
"0".
2. then each day windows schedule runs the excel doc at 16:55. a macro auto runs inside the xls doc that checks cell a1 and sends an email (if the cell = "1" ) if it equals 0 then it does nothing.
3. then each day at 11am a windows schedule runs and sets the cell back to 0
i have the code for sending the email at a set time. I am just unsure how i can make the button in the access db to open the xls doc change a1 to 1 then close it again.
Ill post all the code for the ontime send email shortly. And i realise this is a strange way of doing this but im very open to suggestions.
thanks in advance.
I have a button that needs pressing around 3-5pm every day. iF this button is not pressed by 5pm i want to send an email to 3 addresses as a warning "these can then be forwarded to sms's for a realtime alert. My idea so far is
1. if the button is clicked it alters cell a1 in alert.xls workbook from "1" to
"0".
2. then each day windows schedule runs the excel doc at 16:55. a macro auto runs inside the xls doc that checks cell a1 and sends an email (if the cell = "1" ) if it equals 0 then it does nothing.
3. then each day at 11am a windows schedule runs and sets the cell back to 0
i have the code for sending the email at a set time. I am just unsure how i can make the button in the access db to open the xls doc change a1 to 1 then close it again.
Ill post all the code for the ontime send email shortly. And i realise this is a strange way of doing this but im very open to suggestions.
thanks in advance.