none
CRM-VBA access to CRM Contacts

    Domanda

  • Hi,

    I have MSCRM 2011 and Outlook 2010. Is there any way to though Outlook VBA to access CRM contact fields? Example

    msgbox crmContact(n).Faxnumber

    or change them, example:

    crmContact(n).Faxnumber = "0522973340"

    does anyone have simple vba code to do this? I know how to do with a contact in Outlook VBA, but don't know in how to do in CRM. What I want to do is to run along all contacts in CRM and change a contact field based on some criteria: example

    for each crmcontact in crmcontacts

     if crmcontact(n).country="Italy" then

     crmcontact(n).somefield = "xxxxx"

    endif

    next

    can anyone help?

    giovedì 8 novembre 2012 09:41