Hello Mr Excel fans,
First post here so break me in gently.
I have a folder with numerous spreadsheets, for arguments sake lets say North.xls, East.xls, South.xls and West.xls . Each file contains one sheet that has the same name as the file is named.
Now, I have a seperate spreadsheet called stakeholderlist.xls located in the same directory that lists the files, a stakeholder name and their email address. I would like a macro to go through the file names in the stakeholder workbook, search for the file name in the folder, when the file is found email it (outlook 2003) using the email address in the adjacent field.
I have written code to send emails before (both early and late binding) but Im not sure about delving into a directory.
Office 2003 environment with the necessary reference libraries installed.
Any help would be greatly appreciate.
In return I shall do a random good deed to someone I encounter on my way home.
First post here so break me in gently.
I have a folder with numerous spreadsheets, for arguments sake lets say North.xls, East.xls, South.xls and West.xls . Each file contains one sheet that has the same name as the file is named.
Now, I have a seperate spreadsheet called stakeholderlist.xls located in the same directory that lists the files, a stakeholder name and their email address. I would like a macro to go through the file names in the stakeholder workbook, search for the file name in the folder, when the file is found email it (outlook 2003) using the email address in the adjacent field.
I have written code to send emails before (both early and late binding) but Im not sure about delving into a directory.
Office 2003 environment with the necessary reference libraries installed.
Any help would be greatly appreciate.
In return I shall do a random good deed to someone I encounter on my way home.