rigate2003
New Member
- Joined
- Sep 9, 2009
- Messages
- 4
Using VBA and Excel, I am trying to attach multiple documents to an email. The user will input the file search criteria, and any documents matching that file search criteria will be added as attachments. Currently, my macro perform a file search and open a new email in Outlook, but I'm not sure how to loop through and do multiple attachments. My code will need to do the following:
Loop through all files in a folder
If filename matches user inputted search then
attach file to an already created email document
end if
Check Next file
Any suggestions???
Thanks!!
Loop through all files in a folder
If filename matches user inputted search then
attach file to an already created email document
end if
Check Next file
Any suggestions???
Thanks!!