I have a VBA program that opens my Contacts folder so that I can manipulate the data contained in it.
My problem is that I can get all the information I need, Title, FirstName,BusinessAddress etc but I cannot find any reference to "Notes". This is the large memo area at the bottom of the General tab of each Contact.
I cannot find the field using the "All Fields" tab of each Contact nor can I find any reference in the Object Browser in Excel.
Yet when you do a manual import or export from MS Outlook then there is the field "Notes"!
Can anyone please tell me the reference to the field. I am using XP Pro and Office XP Pro and I use the technique below, in Excel, to get my data.
Thanks for any help.
My problem is that I can get all the information I need, Title, FirstName,BusinessAddress etc but I cannot find any reference to "Notes". This is the large memo area at the bottom of the General tab of each Contact.
I cannot find the field using the "All Fields" tab of each Contact nor can I find any reference in the Object Browser in Excel.
Yet when you do a manual import or export from MS Outlook then there is the field "Notes"!
Can anyone please tell me the reference to the field. I am using XP Pro and Office XP Pro and I use the technique below, in Excel, to get my data.
Code:
Dim objContactsFolder As Outlook.MAPIFolder
Dim objContacts As Outlook.Items
Dim objContact As Object
Dim iCount As Integer
Set objContactsFolder = Session.GetDefaultFolder(olFolderContacts)
Set objContacts = objContactsFolder.Items
iCount = 0
For Each objContact In objContacts
If TypeName(objContact) = "ContactItem" Then
ClearVariables
With oDB
DataLine(1) = objContact.Categories
DataLine(2) = objContact.Title
Etc .....
Thanks for any help.