Auto generate Outlook mails with attachment

KDox

New Member
Joined
Sep 30, 2020
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello,

Haven't used VBA for 15 or so years and have literally forgotten it all!
Hope you can help :)

Been reading around, and I see parts of the solutions here and there, but couldn't figure out how to combine it all.

Trying to autogenerate a standard email in Outlook, text is in Word, with one Excel attachment, files are in one folder. The references are in an Excel "master file".

Folders (made up paths for ref.):
C:\Weblinks/Image_Links (containing all files for attachment)
C:\Weblinks/Masterinfo (containing all other files)(Master excel + word doc with email content)


Word doc:
EmailContent

Excel columns:
A= #ID
B=fileName (for attachment)
C= filePath; C:\Weblinks/Image_Links
D= filePathName (combined C&B if needed)
E= A2= email subject (the same for all mails)
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
EDIT: Forgot to mention the email address column!

F= EmailAddress
 
Upvote 0

Forum statistics

Threads
1,216,124
Messages
6,128,987
Members
449,480
Latest member
yesitisasport

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top