Change File As Field for All Contacts

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi!

I use Outlook 2003. Is there a code to run in order to change the "File As"
fields for ALL contacts? I found a code for 2002 but not for 2003.

I want it to change the appearence in the Address Book as well!

Cheers,
Filip
 
The same code should work for both versions. If it doesn't, show the code you're using.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Well, I dont even know how to use the code... Please refer to a page or
something where I can find the code with right instructions.

Cheers,
Filip
 
Okay, I am not able to use to code. I now understand where to type it. I want
a code to change all Contacts to be "File As:" FIRST LAST in Outlook 2003.
As I open the VBA, what do I type in there??

I'm going crazy, help me =)

Thanks!
 
The sample procedure at http://www.outlookcode.com/d/code/convertfields.htm loops through all the contacts in a folder and changes the value of various fields field. The notes on that page discuss how to adapt the technique to change the FileAs value. In your case, you'd use:

objItem.FileAs = objItem.FirstName & " " & objItem.LastName

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top