W
wotme
H
I am using a small code which sends a reply to a specified sender.
would like to add a line the reply referring to the name of th
attachment, if there is one. I also want to add my signature. I hav
activated the signature in options to be added on a reply, but it doesn
appear.
I would prefer if possible, to add the signature via code, rather tha
it appear on every reply/forward.
Anybody?
Code
-------------------
Sub IP2(objMsg As MailItem)
Dim objReply As MailItem
Set objReply = objMsg.Reply
objReply.Subject = "Ref your email - " & objReply.Subject
objReply.Body = "Your email with attachments has been received" & vbCrLf & vbCrLf & "Thanks" & vbCrLf & "Chris"
objReply.Display
objReply.Send
Set objReply = Nothing
End Su
I am using a small code which sends a reply to a specified sender.
would like to add a line the reply referring to the name of th
attachment, if there is one. I also want to add my signature. I hav
activated the signature in options to be added on a reply, but it doesn
appear.
I would prefer if possible, to add the signature via code, rather tha
it appear on every reply/forward.
Anybody?
Code
-------------------
Sub IP2(objMsg As MailItem)
Dim objReply As MailItem
Set objReply = objMsg.Reply
objReply.Subject = "Ref your email - " & objReply.Subject
objReply.Body = "Your email with attachments has been received" & vbCrLf & vbCrLf & "Thanks" & vbCrLf & "Chris"
objReply.Display
objReply.Send
Set objReply = Nothing
End Su