I want to setup an automated macro and need some assistance or tips. I want the workbook to open at a specific time, say noon on each workday, and send email(s) to a designated list of people.
Some background info:
There a three departments that each create a report on a daily basis, usually by 10am. All three files are saved to the same location. The macro needs to check this location and perform one of two actions:
1) If one or more files are present, it needs to copy and paste data from each file into a new file using a template I created and gets saved to a new "shared" location. Then it needs to send an email to a designated list of recipients with a link to the folder. I want to notify some using the "TO" field and some using the "CC" field.
2) If no files are present, an FYI email needs to be sent, again with recipients in the "TO" and "CC" fields.
My questions center around getting the file to open automatically. Can this be done solely within Excel, or would I have to use a scheduled task in Windows to get the file to open?
After that, I am all set with checking the folder location to see if files exist and creating the summary file if they do. I don't know how to go about the email part. I want to list the names/addresses in the file and have the appropriate action occur based on the whether the files exist or not. I found something on send mail, but not sure how to proceed.
Any ideas would be appreciated.
Kevin
Some background info:
There a three departments that each create a report on a daily basis, usually by 10am. All three files are saved to the same location. The macro needs to check this location and perform one of two actions:
1) If one or more files are present, it needs to copy and paste data from each file into a new file using a template I created and gets saved to a new "shared" location. Then it needs to send an email to a designated list of recipients with a link to the folder. I want to notify some using the "TO" field and some using the "CC" field.
2) If no files are present, an FYI email needs to be sent, again with recipients in the "TO" and "CC" fields.
My questions center around getting the file to open automatically. Can this be done solely within Excel, or would I have to use a scheduled task in Windows to get the file to open?
After that, I am all set with checking the folder location to see if files exist and creating the summary file if they do. I don't know how to go about the email part. I want to list the names/addresses in the file and have the appropriate action occur based on the whether the files exist or not. I found something on send mail, but not sure how to proceed.
Any ideas would be appreciated.
Kevin