Please refer to thread707-662164
I have defined recipient as string
Recipient = Application.VLookup([r5c1], Workbooks("VendorEmailAddressesTesting.xls"
.Worksheets("Buyers"
.[R1C1:R19C2], 2, False)
When the script gets to that point I get error message: TYPE MISMATCH.
Both [r5c1]and C1 from [R1C1:R19C2]in above function are formatted as GENERAL
The value to be retrieved is an email address in column B
When I modify RECIPIENT to a hard coded email address, it works just fine. It looks like it won't accept a looked up value for some reason
Help !!! what am I doing wrong?
Thanks.
I have defined recipient as string
Recipient = Application.VLookup([r5c1], Workbooks("VendorEmailAddressesTesting.xls"
When the script gets to that point I get error message: TYPE MISMATCH.
Both [r5c1]and C1 from [R1C1:R19C2]in above function are formatted as GENERAL
The value to be retrieved is an email address in column B
When I modify RECIPIENT to a hard coded email address, it works just fine. It looks like it won't accept a looked up value for some reason
Help !!! what am I doing wrong?
Thanks.