Change File As Field for All Contacts

F

Filip

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
 
S

Sue Mosher [MVP-Outlook]

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
 
F

Filip

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
 
S

Sue Mosher [MVP-Outlook]

See http://www.outlookcode.com/d/vbabasics.htm for Outlook VBA basics. (You said you already had the code.)

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

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

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!
 
S

Sue Mosher [MVP-Outlook]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top