M
mookashi
hi,
iam trying to copy an attachment from mailitem to another.
while attaching the file to the original mailitem is no problem
-using the Attachments.Add(filename with the full path)--
i dont know how to copy the this attachment to a diff mailitem
the code is as below
here objmailitemcopy and objcurrentmail are of type Outlook.mailItem
For ctrNoOfAttachments = 1 To objMailItemCopy.Attachments.Count
Set oAttach = objCurrentMail.Attachments.Add _
(objMailItemCopy.Attachments.Item(ctrNoOfAttachments).filename)
Next
Can anyone help please??
iam trying to copy an attachment from mailitem to another.
while attaching the file to the original mailitem is no problem
-using the Attachments.Add(filename with the full path)--
i dont know how to copy the this attachment to a diff mailitem
the code is as below
here objmailitemcopy and objcurrentmail are of type Outlook.mailItem
For ctrNoOfAttachments = 1 To objMailItemCopy.Attachments.Count
Set oAttach = objCurrentMail.Attachments.Add _
(objMailItemCopy.Attachments.Item(ctrNoOfAttachments).filename)
Next
Can anyone help please??