S
Steve Burr
Hi,
I am using word vba to automate sending an email with a hyperlink in the
body. When I added the coding to include the signature the security setting
is triggered. Code is below. Is there a workaround or solution I am missing?
Kind regard and many thanks
Extract of code
'Create a new mailitem
Set oItem = oOutlookApp.CreateItem(olMailItem)
With oItem
oItem.To = ""
oItem.Subject = sDsp
oItem.Display
oItem.HTMLBody = "<a href='" & sHpl & "'>" & sDsp & "</a>" &
oItem.HTMLBody & vbCrLf
End With
I am using word vba to automate sending an email with a hyperlink in the
body. When I added the coding to include the signature the security setting
is triggered. Code is below. Is there a workaround or solution I am missing?
Kind regard and many thanks
Extract of code
'Create a new mailitem
Set oItem = oOutlookApp.CreateItem(olMailItem)
With oItem
oItem.To = ""
oItem.Subject = sDsp
oItem.Display
oItem.HTMLBody = "<a href='" & sHpl & "'>" & sDsp & "</a>" &
oItem.HTMLBody & vbCrLf
End With