John O'Malvern
Member
- Local time
- Today, 09:30
- Joined
- Mar 25, 2024
- Messages
- 42
I hadn't seen your post [this above] before I posted my last.Well your flags need to determine if you should create the pdf in the first place?
Then in the Outlook part, they should also determine if they need to be added. You cannot add a file if it does not exist.
All done with a simple If and End If. I would probably use those same flags to determine what I need to delete after sending the email, or you could give them all unique names with perhaps the member ID, then delete them all from that folder right at the end of the procedure.
Daniel was not aware of the other options, so a fair bit needs to be amended to handle all three reports, subject etc?
As he stated
Yes, not fair on Daniel, really. I probably should have insisted on telling mike more about what was required before he started his work.