PC Review


Reply
Thread Tools Rate Thread

Access - Outlook

 
 
Peter
Guest
Posts: n/a
 
      16th Apr 2010
Hi ,
From an command button in Access form1 I want to open and populate the
following in a Outlook Email

From: = Form1.Textfield1
To = Form1.textfield2
CC= Form1.textfield3
Subject line: Form1.textfield4

Thanks!

 
Reply With Quote
 
 
 
 
Michael Bauer [MVP - Outlook]
Guest
Posts: n/a
 
      19th Apr 2010


Add a reference to the Outlook object model to your Access VBA project
(Tools/References) in order to be able to see/learn the object model.

You can create an item with the CreateItem function. For an email the
function returns a MailItem object.

--
Best regards
Michael Bauer - MVP Outlook
Category Manager - Manage and share your categories:
SAM - The Sending Account Manager:
<http://www.vboffice.net/product.html?lang=en>


Am Fri, 16 Apr 2010 10:24:01 -0700 schrieb Peter:

> Hi ,
> From an command button in Access form1 I want to open and populate the
> following in a Outlook Email
>
> From: = Form1.Textfield1
> To = Form1.textfield2
> CC= Form1.textfield3
> Subject line: Form1.textfield4
>
> Thanks!

 
Reply With Quote
 
Peter
Guest
Posts: n/a
 
      19th Apr 2010
Thank you Mr.Bauer, much appriciated!

"Michael Bauer [MVP - Outlook]" wrote:

>
>
> Add a reference to the Outlook object model to your Access VBA project
> (Tools/References) in order to be able to see/learn the object model.
>
> You can create an item with the CreateItem function. For an email the
> function returns a MailItem object.
>
> --
> Best regards
> Michael Bauer - MVP Outlook
> Category Manager - Manage and share your categories:
> SAM - The Sending Account Manager:
> <http://www.vboffice.net/product.html?lang=en>
>
>
> Am Fri, 16 Apr 2010 10:24:01 -0700 schrieb Peter:
>
> > Hi ,
> > From an command button in Access form1 I want to open and populate the
> > following in a Outlook Email
> >
> > From: = Form1.Textfield1
> > To = Form1.textfield2
> > CC= Form1.textfield3
> > Subject line: Form1.textfield4
> >
> > Thanks!

> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Corrupted Dates in Access Link Tables - Linking Access to Outlook( Agent 99 Microsoft Access External Data 0 29th Aug 2009 09:22 AM
Outlook should access Outlook Web Access to sync schedule. =?Utf-8?B?T3ZlcnRhRG92ZXI=?= Microsoft Outlook Calendar 2 5th Jul 2006 01:42 AM
outlook mapi access. "A program is trying to access e-mail address =?Utf-8?B?bG1w?= Microsoft Outlook 8 20th Mar 2005 11:16 AM
Access and Outlook - automatically generate emails if I track addresses in Access BP Microsoft Access Getting Started 5 27th Mar 2004 12:05 PM
Cannot access Outlook 2002 data on old hard drive (Access Restricted) Roger Microsoft Outlook Discussion 1 8th Jul 2003 03:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:40 PM.