Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'PC Outlook to Address Book to XML and much more' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
PC Outlook to Address Book to XML and much more
Authored by: Code Masseur on Jan 26, '05 08:13:29PM

The script listed in step 1 ("pc_outlook_export.txt") has a couple issues which need to be corrected in order to be useful.

1. The script can't handle items in the contacts folder which aren't individual contacts (such as a distribution list). The original submitter almost got this right, when he included this line:


If objItem.Class = olContact Then

Unfortunately, this check needs to be made before the line:


Set objItem = objPress.Items.Item(intLoop)

The way I solved this was by making the check:


        If objPress.Items.Item(intLoop).Class = olContact Then

and that fixed the script errors which will be otherwise encountered.

2. The output is in French. For English-speakers, "domicile" changes to "Home", "travail" changes to "Work" and "autre" changes to "Other".

3. The default contacts folder is not exported. Instead a sub-folder called "presse archives" (Literal English translation: "Press Files"?) is exported. This is easily addressed by either creating a sub-folder which you copy your contacts into for export and updating the script with the proper name or by modifying the script, which I did.

Critique aside, this was a very useful tool, and I thank the contributor for making it available. It saved me lots of headache as I have hundreds of contacts in Outlook which I wanted to export into the Mac OSX Address Book application.



[ Reply to This | # ]
PC Outlook to Address Book to XML and much more
Authored by: wuhair on Jun 22, '07 08:29:27AM

Do you know how to edit the code so that you can have:
Job title
Email address 1
Email address 2
Email address 3

thanks,

Winston



[ Reply to This | # ]