msoutlook.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Outlook security "aprogram is trying to access.."

 
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Program VBA
Author Message
Steve Burr



Joined: 28 Feb 2008
Posts: 3

PostPosted: Wed Feb 27, 2008 9:15 pm    Post subject: Outlook security "aprogram is trying to access.." Reply with quote

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 = "" & sDsp & "" &
oItem.HTMLBody & vbCrLf
End With

Archived from group: microsoft>public>outlook>program_vba
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
CDO Outlook security prompt hangs, vb script Mapi Session User is on Windows XP Pro SP2 Office 2003 XP SP2 Using an Outlook 2003 custom form set Session1 = msgbox "Before Logon" on error resume next msgbox "After Logon" msgbox

Avoid Security Prompts I am using Access 2003 to automate an email. The following is my code. Function As String, strSubject As String, _ strComments As String, Optional Dim objOutlookApp As Dim objOutlookMsg As Outlook.Mail

Vista: Write access on Outlook hi all, i want to create a journal entry from my program. it runs fine under XP, but I have trouble under vista when outlook is already running. this line throws an exception: "The Operation failed." itemJournal =

Send email from Access using Outlook template Trying to send email from Access using an Outlook Template. Any code or suggestions on how to do this would be appreciated. -- Jerry M. Faison III, MCP

Import Outlook Task Form Data Into Access I have several public task folders from which I would like to import the task information into Access including some form data. I've tried the table linking deal but it doesn't include the start date and other form data. I know the EntryIDs and StoreIDs b
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Program VBA All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group