B
Beginner
Hello,
I am new to VBA and object model programming with OutLook. Can someone
assist me in developing VBA for OutLook that add text to the body of the
email message without deleting what is already their?
The simple code below erases the current text and add the text I have
assigned to be put into the body. HELP....
Sub AddLinks()
Dim MyItem As MailItem
Dim MyAtt As Attachment
Const dPath = "<file://d:\>"
Set SelectedItems = ActiveExplorer.Selection
For Each MyItem In SelectedItems
MyItem.Body = dPath
MyItem.Save
Next
MsgBox "Processing Completed!"
End Sub
I am new to VBA and object model programming with OutLook. Can someone
assist me in developing VBA for OutLook that add text to the body of the
email message without deleting what is already their?
The simple code below erases the current text and add the text I have
assigned to be put into the body. HELP....
Sub AddLinks()
Dim MyItem As MailItem
Dim MyAtt As Attachment
Const dPath = "<file://d:\>"
Set SelectedItems = ActiveExplorer.Selection
For Each MyItem In SelectedItems
MyItem.Body = dPath
MyItem.Save
Next
MsgBox "Processing Completed!"
End Sub