The following modification to the code will check to see if there is a colon
in the cell, as there would be if it contains the path and filename of an
attachment, and only add the attachment if there is:
For i = 2 To Maillist.Tables(1).Columns.Count
Set Datarange = Maillist.Tables(1).Cell(Counter, i).Range
Datarange.End = Datarange.End - 1
If InStr(Datarange, ":") > 0 Then
.Attachments.Add Trim(Datarange.Text), olByValue, 1
End If
Next i

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
> I;m sorry, i mis-stated something here:
> "But in my case, I would like the macro to handle cases in which
[quoted text clipped - 6 lines]
>
> my apologies!
aeacsharp - 20 Feb 2006 17:15 GMT
Outstanding, thanks so much, Doug. Yes, it does help. Works great,
saved us all some time up here.