![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]()
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. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "John Tripp" wrote in message ... 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 |
#3
|
|||
|
|||
![]()
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 "Ken Slovak - [MVP - Outlook]" wrote: 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. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "John Tripp" wrote in message ... 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 |
#4
|
|||
|
|||
![]()
NameSpace.PickFolder returns a MAPIFolder object. You need nothing else,
just use the returned MAPIFolder object. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "John Tripp" wrote in message ... 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 |
#5
|
|||
|
|||
![]()
I knew I was just being dense. Thanks a lot.
"Ken Slovak - [MVP - Outlook]" wrote: NameSpace.PickFolder returns a MAPIFolder object. You need nothing else, just use the returned MAPIFolder object. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "John Tripp" wrote in message ... 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Cannot update the appointment because the corresponding item in the folder you syncronized does not match this item" | Stephen Corliss | Outlook - General Queries | 1 | June 26th 08 01:29 AM |
Cannot update the appointment because the corresponding item in th | Transam388 | Outlook - Calandaring | 0 | May 19th 08 05:01 PM |
Unable to update public free/busy data. Item could not be found. | bozzakwebmaster | Outlook - Calandaring | 1 | February 28th 07 03:10 PM |
Let me move a Calendar item without sending an update | Winter | Outlook - Calandaring | 1 | May 29th 06 11:01 PM |
Import Contact Data for certain fields only - update not replace entire contact | Pennycook | Outlook - Using Contacts | 4 | January 19th 06 07:07 AM |