Your options are limited to the various properties available in the object
model. For Company followed by name the closest available option would be
CompanyAndFullName, depending on how FullName is set up.

Use Alt+F11 to open the Outlook VBA project, and then use F2 to open the
Object Browser. In the libraries drop-down select Outlook and in the Classes
scroll area select ContactItem to see the various properties that are
available.

You can use a loop then to iterate the contacts collection and set the
FileAs property to whatever contact property you want.

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

"OutdoorRuss" <srusskinyon@gmail.com> wrote in message
news:ae72be31-765c-40df-aaaf-abe62e54ccd5@o28g2000yqh.googlegroups.com...
> Since I cannot add "File As" options, I would like to find a way to
> set the File As field to (Company) First Name Last Name or First Name
> Last Name (Company)
>
> Is there a way/code to change the File As field to one of the above
> through code after someone enters the name or company name?
04 Feb 2010Custom File As.OutdoorRuss
05 Feb 2010\ Re: Custom File As.Ken Slovak - [MVP - O...
08 Feb 2010   \ Re: Custom File As.OutdoorRuss
08 Feb 2010      \ Re: Custom File As.JP
Contact Us
All times are in (US) Eastern Daylight Time (GMT -4:00)