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.
Similar threads
Thread starter Title 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
M assigning a category during import BCM (Business Contact Manager) 2
O Comma Separated Values.ADR and A file error has occurred in the translator Using Outlook 5
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. Using Outlook 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
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
S CONTACT FIELD PRINT ORDER Outlook VBA and Custom Forms 1
I Button PDF in Outlook Contact custom form Outlook VBA and Custom Forms 1
O Outlook 365 - How to create / copy a new contact from an existing one? Using Outlook 3
N contact list seen in Contact folder but knot in Address book or when 'TO' button is clicked in new email Using Outlook 0
M Disable Contact Card Results when using "Search People" in Outlook Ribbon Using Outlook 7
M Contact suggestion Using Outlook 2
H Custom Outlook Contact Form VBA Outlook VBA and Custom Forms 1
witzker HowTo Change message Class of contact form Outlook VBA and Custom Forms 0
witzker Open Contact missing in Outlook 2019 Using Outlook 2
witzker HowTo start a macro with an Button in OL contact form Outlook VBA and Custom Forms 12
witzker Pls help to change the code for inserting date in Ol contact body Outlook VBA and Custom Forms 5
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

Similar threads

Top