Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Outlook 2003 - Contacts view by Company (http://www.outlookbanter.com/outlook-vba/100748-outlook-2003-contacts-view-company.html)

thomas March 7th 10 01:47 AM

Outlook 2003 - Contacts view by Company
 
Hello,

I would like to make a VBA script to automatically sort the contacts of a
contacts folder by company (I create the folder itself by VBA when I export
contacts from MS Access 2003)

Any tip to make it?

Thanks


Michael Bauer [MVP - Outlook] March 8th 10 08:20 AM

Outlook 2003 - Contacts view by Company
 


See the Folder.CurrentView.Xml property. I'd manually create the view to see
how the xml string has to look like. Then you can use that and set the
property by code.

--
Best regards
Michael Bauer - MVP Outlook
Manage and share your categories:
http://www.vboffice.net/product.html?lang=en


Am Sun, 7 Mar 2010 02:47:30 +0100 schrieb thomas:

Hello,

I would like to make a VBA script to automatically sort the contacts of a
contacts folder by company (I create the folder itself by VBA when I

export
contacts from MS Access 2003)

Any tip to make it?

Thanks



All times are GMT +1. The time now is 11:39 PM.

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