Importing Contacts

  • Thread starter Thread starter Richard
  • Start date Start date
R

Richard

Whenever I import a contact, no matter what it always displays as default
"Last, First". (even though I have mine set to First Last) I imported my
work contacts list now I have a mess with hundreds of contacts. I want them
displayed as "Company (Last ,First)" or "First Last" I was in another group
and was directed here
http://support.microsoft.com/default.aspx?scid=kb;en-us;291144
I did exactly as directed, twice I copied and pasted the code in but when I
open the form I get a "Script Error" Syntax error line1" when I close the
error my form opens, I click a button and nothing happens. what do I do, Is
there another way to change more than one at a time file as field?
 
Well, I figured out the code, the form works fine, now is there a way to
tweak it so I can have "Company (First Last) instead of the Company (Last,
First)?
 
If you want to change the FileAs property for imported contacts, you need to
be aware that FileAs is a little quirky. What you see in the contact item as
Full Name (Company) is actually stored as "Full Name" & vbCrLf &
"Company" -- with no parentheses in sight. See
http://www.outlookcode.com/threads.aspx?forumid=3&messageid=7833 for a
discussion and example of this issue.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
the parentheses I wrote is how I see it in the contacts File As drop down
menu. I am thinking there is no way for me to make the code work for- File
As; Company First Last because the original form has it as Company Last,
First?
is there a way to see the code of the original outlook Contacts form?
 
No, you can't see the internal workings of any Office program.

There's no reason you can't code FileAs to equal what you want, either in
code behind a custom form for new items or in import code. You just have to
keep in mind what I pointed out earlier -- that if you want it to work
right, you don't use parentheses but instead use a CR/LF between the two
elements that you want to separate.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top