A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Access - Outlook



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 16th 10, 06:24 PM posted to microsoft.public.outlook.program_vba
Peter
external usenet poster
 
Posts: 120
Default Access - Outlook

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!

Ads
  #2  
Old April 19th 10, 09:22 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Access - Outlook



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!

  #3  
Old April 19th 10, 06:49 PM posted to microsoft.public.outlook.program_vba
Peter
external usenet poster
 
Posts: 120
Default Access - Outlook

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!

.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking Outlook to Access for Contacts in Access Gary S Outlook and VBA 3 January 6th 10 06:36 PM
Access to folders not originating in Outlook, in Web Access Mail Leigh Outlook - Installation 1 August 2nd 08 07:11 PM
Remote Access or shared LAN access of Outlook without using Exchange Server ???? Synapse Syndrome Outlook - General Queries 8 June 22nd 07 09:11 PM
Remote Access or shared LAN access of Outlook without using Exchange Server ???? Synapse Syndrome Add-ins for Outlook 8 June 22nd 07 09:11 PM
Is it possible to access Outlook from home without web access, an. Rob King Outlook - Installation 1 January 5th 07 08:29 PM


All times are GMT +1. The time now is 06:59 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.