Click here to subscribe
to our weekly newsletter
Exchange Messaging Outlook

EMO back issues




Change Contact's Email Display Name format

The default email display name used to be "Full Name (Email1)", "Full Name (Email2)", "Full Name (Email3)" but beginning with Outlook 2003, is now "Full Name (email address)" or File As (email address), as selected in Tools, Account Settings, Address Books tab. Select Outlook Address Book and click Change to view or change the default for new contacts. You can choose between "First Last" or "File As" format.

You can use VBA to change your contacts so they all use the same format. Your choices are limited to Full name, Last First, FileAs, and Company. You can include the email address by adding this code to the format code: & " (" & .Email1Address & ")" .

Two formats in the code sample below are less than useful as Display name formats:

strFileAs = .CompanyName & " " & .FullName & " (" & .Email1Address & ")"

Results in a leading space if the Contact does not have a Company listed.  

'strFileAs = .FileAs

Uses only the Company name in the display name when the FileAs format is "Company name (Fullname)".

Note that this code does not check for email addresses and may set a display name for contacts who don't have an email address.

VBA Sample

Press Alt+F11 to open the VBA editor then copy and paste into ThisOutlookSession. Uncomment the strFileAs line that uses the format you desire before running it.

This code was tested with Outlook 2007 and 2003. (May trigger the Email security prompts in Outlook 2003.)

Back to Top

More Information

This code sample works on the Display name for the default email address (Email1) but can easily be changed to work with Email2 or Email3.

This code sample was created from Change Contact's File As format

Updated Mar 09 2009

Copyright Slipstick Systems. All rights reserved.
Send comments using our Feedback page

Home | What's New | Exchange Server | Outlook | Utilities | Bookstore
About Slipstick | Feedback | Privacy Policy | Site Map | Archived Pages | Link to Us | Advertise