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

Assigning Values to Contact UserProperties



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old January 12th 10, 03:09 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP][_4_]
external usenet poster
 
Posts: 552
Default Assigning Values to Contact UserProperties

Show a relevant code snippet, please.

In your form design, do the custom fields appear on the All Fields tab under
"User Fields in This Item"?
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"MWE66" MWE66.44okgm@invalid wrote in message news:MWE66.44okgm@invalid...

I am running Outlook2003.

I added several "new" variables (UserProperties) when creating a
revised form for Contacts viewing (NCDF). The MessageClass for contacts
displayed with the new form (and user variables) is IPM.Contact.NCDF
I ran a (one time)VBA procedure to change the message class of relevant
contacts to IPM.Contact.NCDF
Everything seems to work fine except when I try to assign values to
UserProperties under VBA control.

There are no problems with existing contacts or new contacts created
manually. Forms works fine, UserProperties values are what they should
be. VBA procedures that assign values to UserProperties work fine.

If I create a new contact under VBA control and assign values to
standard variables, that works fine. But it if I create a new contact
using a VBA procedure and assign values to both standard contact
variables and UserProperties, the UserProperties remain Null.

If anyone has any ideas, I would appreciate that feedback.

Thanks


--
MWE66
http://forums.slipstick.com



 




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
See drop-down values for Contact fields using a table view Haruspex Outlook and VBA 1 June 25th 08 02:34 PM
How do I add a drop down list field & its values to contact form? Mac NorLog Outlook - Using Contacts 1 January 4th 08 07:39 PM
UserProperties j Add-ins for Outlook 0 February 12th 07 07:06 AM
assigning a contact to an "other tasks" Allison B Outlook - Using Contacts 1 February 11th 07 03:47 PM
Get values of custom variables from customised contact form Michael Anderson Outlook and VBA 1 February 6th 06 09:06 PM


All times are GMT +1. The time now is 11:38 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.