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 - Using Contacts
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Updating a contact record with VBscript



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 23rd 07, 08:28 AM posted to microsoft.public.outlook.contacts
[email protected]
external usenet poster
 
Posts: 1
Default Updating a contact record with VBscript

Hi,

I have this issue. I can read the fields of my contacts with my
vbscript. And I need to set the Nickname field to something. But I
cannot update/edit/save the information.

For Example.
oContact.Nickname = "crazyguy"

How can I save this?

I tried
oContact.Save

and that doesnt work. What is the method to update the contact
information?

Thanks

  #2  
Old June 23rd 07, 01:14 PM posted to microsoft.public.outlook.contacts
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Updating a contact record with VBscript

oContact.Save would be the correct code statement. What symptoms suggest that it's not working?

FYI, there is a newsgroup specifically for general Outlook programming issues "down the hall" at microsoft.public.outlook.program_vba or, via web interface, at http://www.microsoft.com/office/comm....program_v ba

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


wrote in message ups.com...
Hi,

I have this issue. I can read the fields of my contacts with my
vbscript. And I need to set the Nickname field to something. But I
cannot update/edit/save the information.

For Example.
oContact.Nickname = "crazyguy"

How can I save this?

I tried
oContact.Save

and that doesnt work. What is the method to update the contact
information?

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
Marking a Contact Record as 'Private' GeneM office Outlook - Using Contacts 4 August 18th 08 03:20 PM
How to change/add fields shown in Contact Record Jonathan Outlook - Using Contacts 5 July 27th 07 01:46 AM
How many contacts can be record in the contact list ballesterrealestate Outlook - Using Contacts 4 June 13th 07 09:17 AM
Put email content into contact record Mike Carr Outlook - Using Contacts 0 September 21st 06 02:11 AM
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 11:36 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.