Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDOSYS-Multiple Attachments

Status
Not open for further replies.

BobbaBuoy

Instructor
May 25, 2003
75
US
I am having trouble sending multiple attachments as selected from a select list with multiple="multiple". It will send one just fine and the array is including the correct absolute path but I get a "syntax error" message whenever I try to do this.

Here is my code:
Code:
If IsArray(AttachArr) Then
        For j = 0 to UBound(AttachArr)
               .AddAttachment AttachArr(j)
	Next
End If

I am guessing it has something to do with repeating the ".AddAttachment" line. I would appreciate any help I can get!

Thanks~

Bobba Buoy
Just trying to make sense of it all ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top