Hi There
I am looking for some help converting a VBS code to VBA (excel macro).
I created a VBS which has a few functions:
1. Create a HTML .msg file which contains a unique URL and image (downloaded from a website) based on the data entered into the first Input box. This email is then saved to a network location using the date from the Input as the file name (location of the file is irrelevant)
2. Create a secondary HTML email that uses the email address from one (additional) Input box, is addressed to the First name entered into another Input box. This email then has the first email that was created attached to it.
Code below:
This VBS works great for one by one creation - However now I have the need to send this custom email with the other custom email attached, too about 4,000 members.
I have an excel workbook that contains all 4,000 contacts, and all the data that I would use for creation:
A - Member ID
B - First Name
C - Last Name
D - Email
F - URL (URL is a concatenation of the URL & Member ID which is the link to the unique image)
What I need is a vba macro that will do everything my vbs does, but for each record in my work book.
Can anybody help?
Thank You
Simon
Bookmarks