G
Guest
The following code successfully displays the first line of a Note attached to
a Contact Item:
Set objNotesColl = objContactItem.Attachments
If objNotesColl.Count > 0 Then
MsgBox objNotesColl.Count & " items found for " & objContactItem.FullName
For Each objNote In objNotesColl
MsgBox objNote
Next objNote
End If
However, I wish to access the entire contents of the Note (objNote.Body),
not just the subject, and this does not work. Nor does reading the Subject
explicitly, i.e. "MsgBox objNote" works, but "MsgBox objNote.Subject" results
in a run-time error.
How can the entire contents of a Note be read?
JPL
a Contact Item:
Set objNotesColl = objContactItem.Attachments
If objNotesColl.Count > 0 Then
MsgBox objNotesColl.Count & " items found for " & objContactItem.FullName
For Each objNote In objNotesColl
MsgBox objNote
Next objNote
End If
However, I wish to access the entire contents of the Note (objNote.Body),
not just the subject, and this does not work. Nor does reading the Subject
explicitly, i.e. "MsgBox objNote" works, but "MsgBox objNote.Subject" results
in a run-time error.
How can the entire contents of a Note be read?
JPL