Update Contact Item

  • Thread starter Thread starter John Tripp
  • Start date Start date
J

John Tripp

I want to select a subfolder within the Contacts Folder and then update
Email2 for every item.

Is there a straightforward way to do this?

Thanks, John
 
You can get the selected folder using code, iterate its Items collection and
access the Email2Address property as well as related fields such as
Email2DisplayName, etc. and update them that way.

But where would the update information come from? Unless you have a data
source with data for those fields for Email2 you'd still have to have a
dialog box put up where you'd have to enter all that information manually.
 
I think I actualy have every thing worked out. If I am using the default
folder, I can loop through the items properly doing the updates.

My problem is trying to get the right folder. I don't have a problem when
it is the default folder, but when I need a subfolder.

I tried to use .pickfolder but only get the folder name not the complete
string I need eg: The user has a contacts folder "Press Contacts" and under
it folders "Print" and "Broadcast" and pickfolder only returns, for example,
"Print".

I am obviously missing something simple just don't see it. Thanks
 
NameSpace.PickFolder returns a MAPIFolder object. You need nothing else,
just use the returned MAPIFolder object.
 
I knew I was just being dense. Thanks a lot.

Ken Slovak - said:
NameSpace.PickFolder returns a MAPIFolder object. You need nothing else,
just use the returned MAPIFolder object.
 
Back
Top