Outlook security "aprogram is trying to access.."

  • Thread starter Thread starter Steve Burr
  • Start date Start date
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

PS. I apologize to anyone who replied to the post in the general section. My
error.

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
 
You mentioned the code that inserts the signature is triggering the
security prompt, could you post that portion of the code?


Thx,
JP
 
Back
Top