kengooch
Member
- Local time
- Today, 07:44
- Joined
- Feb 29, 2012
- Messages
- 137
I have a report that I send out each day about Staffing and Metrics. The email staff names and Metrics categories rarely change only the actual numbers.
What I need to do is find the previous report in the Sent Mail folder by finding it by the Last Date Sent where the Subject has the Partial String "Staffing and Metrics - ".
Once I locate that email I think I can use the objInsp.CommandBars.ExecuteMso to resend the message.
I would also append the "Staffing and Metrics - " partial string to the Date for today and rewrite it into the Subject line. I have code that will do that.
I am clueless about how to use VBA to tell outlook to give me that most recent email by date with the partial string "Staffing and Metrics".
If someone knows how to do this, I would REALLY appreciate your help!!!
What I need to do is find the previous report in the Sent Mail folder by finding it by the Last Date Sent where the Subject has the Partial String "Staffing and Metrics - ".
Once I locate that email I think I can use the objInsp.CommandBars.ExecuteMso to resend the message.
I would also append the "Staffing and Metrics - " partial string to the Date for today and rewrite it into the Subject line. I have code that will do that.
I am clueless about how to use VBA to tell outlook to give me that most recent email by date with the partial string "Staffing and Metrics".
If someone knows how to do this, I would REALLY appreciate your help!!!