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

Open specific Outlook contact record using VBA (in Access)



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 20th 08, 08:00 PM posted to microsoft.public.outlook.program_vba
Chris O''''Neill
external usenet poster
 
Posts: 17
Default Open specific Outlook contact record using VBA (in Access)

By the way, I should add (in case it makes a difference?) that I'm doing all
this with Access/Outlook 2002.

Regards, Chris

"Dmitry Streblechenko" wrote:

Store the contact's entry id (ContactItem.EntryID, call Save ) and reopen it
using Namespace,GetItemfromID.
You might also want to store the parent store id
(ContactItem.Parent.StoreID, used as the second optional parameter in
GetItemfromID) if the contact comes from a non-default store.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Chris O''''Neill" wrote in message
...
I've figured out how to create Outlook contact records from a command
button
in Access, but now I'd like to figure out how use an Access command button
to
open Outlook to a specific contact record. Here's the logic I want to use
for my command button:

IF OutlookContactRecord exists THEN
Open OutlookContactRecord
ELSE
Create new OutlookContactRecord
END IF

I know whether (or not) a contact record exists because I set a flag in
Access when I create the record. Now, all I need to figure out is how to
call up the existing record.

Any help provided wll be greatly appreciated!

Regards, Chris




 




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
How do I create a Word document from a contact record in Outlook 2 udontquit Outlook - Using Contacts 8 November 17th 07 11:43 PM
Access to mulitple Mailboxes but cant open the contact list Jerry Outlook - Using Contacts 3 November 9th 07 03:04 PM
Outlook 2007: Opening newly created contact deletes the record. Jarryd Outlook - Using Contacts 0 October 31st 07 10:39 AM
Stop displaying business card inside a contact record: Outlook 200 Pyramid 36 Outlook - Using Contacts 0 February 12th 07 03:33 PM
How to add more than one Name to same contact record in Outlook? Gian Outlook - Using Contacts 1 March 30th 06 07:29 PM


All times are GMT +1. The time now is 03:05 PM.


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.