Determine EntryID

  • Thread starter Thread starter Question Boy
  • Start date Start date
Q

Question Boy

Hello,

i am creating a new contact using vba

************
Set objFolder = myNameSpace.GetDefaultFolder(olFolderContacts)
Set objItems = objFolder.Items

With objItems.Add 'Create new Contact Entry
.FirstName = ""
.LastName = ""
.HomeAddressStreet = "
'...
.Save
***********

How do I determine the EntryID of the newly created contact at it creation
so I can store it?

Thank you,

QB
End With
 
Michael,

That is exactly my question. How can one do that, detrmine the EntryID of a
newly created contact item?

After the .save how can I determine and pass the EntryID for the newly
created contact item to a variable?

Thank you,

QB
 
Back
Top