![]() |
Outlook Contacts - Notes field
How do I define Outlook Contacts NOTES field in Outlook 2003? I thought it
is defined as Contacts.Info. Errors is as below Error: Object doesn't support this property or method: 'Contact.Info' Code: 800A01B6 Source: Microsoft VBScript runtime error Here is the part of script: Set Contact = olApp.GetNamespace("MAPI").GetDefaultFolder(18).Fo lders.Item("Symyx").Items.Add Contact.FirstName = first_name Contact.LastName = last_name Contact.Email1Address = email_address 'Contact.HomeTelephoneNumber = oUser.homePhone 'Contact.BusinessAddressStreet = oUser.streetAddress 'Contact.BusinessAddressCity = oUser.l 'Contact.BusinessAddressPostalCode = oUser.postalCode Contact.BusinessAddressState = state_code Contact.BusinessAddressCountry = country_name Contact.BusinessTelephoneNumber = office_phone 'Contact.BusinessFaxNumber = oUser.facsimileTelephoneNumber 'Contact.PagerNumber = oUser.pager 'Contact.CompanyName = oUser.company Contact.JobTitle = job_title Contact.Department = dept_no Contact.OfficeLocation = office_location Contact.Email1DisplayName = display_name 'Contact.FileAs = oUser.DisplayName Contact.MobileTelephoneNumber = mobile_phone Contact.Info = notes All other attributes mapping works fine except the Contact.Info. What am I doing wrong? TIA, Symuser |
Outlook Contacts - Notes field
When in doubt, check the object browser: Press ALt+F11 to open the VBA environment in Outlook, then press F2. Switch from All Libraries to Outlook to browse all Outlook objects and their properties, methods, and events. Select any object or member, then press F1 to see its Help topic.
You'll find that it's the Body property. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Symuser" wrote in message ... How do I define Outlook Contacts NOTES field in Outlook 2003? I thought it is defined as Contacts.Info. Errors is as below Error: Object doesn't support this property or method: 'Contact.Info' Code: 800A01B6 Source: Microsoft VBScript runtime error |
Outlook Contacts - Notes field
Many Thanks, Sue! You are a life savor! It is now working like a charm!
Really appreciate your help! - Symuser "Sue Mosher [MVP-Outlook]" wrote: When in doubt, check the object browser: Press ALt+F11 to open the VBA environment in Outlook, then press F2. Switch from All Libraries to Outlook to browse all Outlook objects and their properties, methods, and events. Select any object or member, then press F1 to see its Help topic. You'll find that it's the Body property. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Symuser" wrote in message ... How do I define Outlook Contacts NOTES field in Outlook 2003? I thought it is defined as Contacts.Info. Errors is as below Error: Object doesn't support this property or method: 'Contact.Info' Code: 800A01B6 Source: Microsoft VBScript runtime error |
All times are GMT +1. The time now is 05:08 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com