Hi all!
I'm new here, so I am so sorry if I do anything wrong on this post!
I have setup a module that will send a bunch of emails to numerous individuals. Each email has its own specific attachment that is sent.
All of these attachments are in a specific folder, and follow a naming convention based on who it needs to be sent to.
Column A: Business Code
Column B: Business Name
Column C: The email address of the person the email is being sent to
Columns D & E: The email addresses of the people being CC'd on the email.
The problem I am having is that sometimes there is an error made in the naming convention (by the person who uses the program).
The naming convention for each attachment is the value of Column A + _ + 10th + the file extension (usually an xls file).
This brings up a run-time error when it gets to a row where it can't find the attachment.
What I would like to do is have it operate so that it continues to send the rest of the emails, and then after that is completed have a MsgBox or something appear that states which row the error(s) happened at, so the user can send those emails individually with the attachments the module couldn't find.
I had to remove the at symbol from the line under "attachmentname" as it thought it was a link of some kind.Please Login or Register to view this content.
I am totally open to any and all suggestions! Thank you in advance for your help!
Bookmarks