Assigning Values to Contact UserProperties

Status
Not open for further replies.
M

MWE66

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
 
S

Sue Mosher [MVP]

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

"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
> >
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
Y Outlook 2013 Stop Outlook from automatically assigning categories to Tasks Using Outlook 0
RBLampert Assigning a newly (re)created e-mail account to a specific .pst data file Using Outlook 2
B VBA Macro for assigning multiple Categories to an email in my Inbox Outlook VBA and Custom Forms 1
N VBA Outlook reference to Excel and assigning category Outlook VBA and Custom Forms 13
G Tasks not assigning Using Outlook 3
M Assigning a specific font color to new emails using rules when they arrive Using Outlook 3
J Contacts: Assigning followup date by category Using Outlook 2
P Outlook assigning tasks to contacts without e-mail Using Outlook 1
O Assigning a single instance of a recurring task OUTLOOK 2010 Using Outlook 3
E Assigning SharePoint list by GPO, not showing in Outlook 2010 Using Outlook 1
M assigning a category during import BCM (Business Contact Manager) 2
A Add attachments to appointment based on field values Outlook VBA and Custom Forms 0
Diane Poremsky Could not complete the operation. One or more parameter values are not valid. New Slipstick.com Articles 0
T What code to use to move the custom field values to message body when sending e-mail ? Outlook VBA and Custom Forms 8
N How to retrieve user defined fields values to bcm form. Using Outlook 2
D Multiple values for a field (like categories) Outlook VBA and Custom Forms 1
M Make 2 independent Subs use shared Data Values Using Outlook 3
S Populate textbox values from one form to another form. Using Outlook 0
M Default values for contacts Using Outlook 8
G Displaying value of task subject field as values from two custom fields Using Outlook 4
J why "Could not complete the operation. One or more parameter values are not valid"? Using Outlook 2
A Configuring default size values for archive mailbox Exchange Server Administration 6
J could not complete operation. one or more parameter values are not valid Using Outlook 3
D 0x80070057 - Error Report # sending error. Could not complete the operation. One or more parameter values are not valid. Using Outlook 2
W Linking dropdown values Outlook VBA and Custom Forms 1
B Passing values from custom form into another form's text box Outlook VBA and Custom Forms 1
J User defined fields with pre-defined values Outlook VBA and Custom Forms 3
J Getting values of custom categories set on Calendar folder Outlook VBA and Custom Forms 2
E Where is the best place to store values for combobox entries Outlook VBA and Custom Forms 5
E Where is the best place to store values for combobox entries Outlook VBA and Custom Forms 5
H Error in values when exporting report to Excel BCM (Business Contact Manager) 1
C Boolean values for Checkbox fields Outlook VBA and Custom Forms 1
R Time for another article on contact cards? Using Outlook 0
O Create a custom contact form - questions before messing things up... Outlook VBA and Custom Forms 4
M vCard does not have user-defined fields from my custom contact form (365) Using Outlook 1
C Copy Outlook contact field value to another field Outlook VBA and Custom Forms 1
W Remove specific contacts from contact list Outlook VBA and Custom Forms 3
GregS 2016 Contact List being managed by Outlook.com? Using Outlook 1
F Copy and replace not update contact in another pst Using Outlook 0
A Sending contact vcards sends older version instead of updated version Using Outlook 4
T Outlook 2010 Correct way to map multiple contact fields Using Outlook 4
Victor_50 Outlook 2013 Custom Contact Form starts with "E-mail 2" Outlook VBA and Custom Forms 2
B Outlook Business Contact Manager with SQL to Excel, User Defined Fields in BCM don't sync in SQL. Can I use VBA code to copy 1 field to another? BCM (Business Contact Manager) 0
L dynamic and static dates in Outlook contact "notes" ie. body Using Outlook 2
Randy Redekopp How To Merge Contact Info to Email Custom Form Template Using Outlook 2
L Wierd Office 365 Contact unable to edit body of random contacts Using Outlook 5
M Contact photos are distorted Using Outlook 0
C Outlook Contact Manager - A viable successor? BCM (Business Contact Manager) 7
N Contact display as Using Outlook 2
N contact notepad 'style' getting changed after clicking and running Activities Using Outlook 2
Similar threads


















































Top