![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
This may have been asked but I did not find a lear answer anywhere so I will ask again. Please accept my apologies if I am inadvertently beating a dead horse. My company is using Access 97 to populate Outlook 2003 personal address books based on CSV's mined out of a point-of-sale solution. They will not upgrade Access (too cheap) and they will not let me install the Access-to-Outlook parts that we would need to mount the address book in Access as a linked table (I think these are ODBC drivers but I am not certain). So, I am left with opening the PAB using the Outlook Office objects (Namespace, AddressList, AddressEntry, etc..) and running through the csv data record by record and adding the entries into the PAB one at a time. This is fine but, to do this "safely" is very slow. I verify for each line whether the address already exists and act accordingly whether it does or does not. I would prefer to simply clean out the existing PAB contents each time and replace them with the csv information. I have to do this with VBA and, because it is an existing process, the users have to use Access as they are accustomed to double clicking the mdb file to perform the work. Given that I am heavily constrained in the choices I can make here (I would rather code this as an add-in to Outlook but it is not a choice right now), what I need to do is to either a) drop the existing PAB and re-create it prior to populating it or b) clean it out en-masse rather than deleting entries one at a time. I have not found any object that has these abilities. Would anyone out there be able and willing to tell me if this is possible and, if so, what objects to use? If I can find the right direction, I should be able to figure it out. Thanks ![]() -dt |
Ads |
#2
|
|||
|
|||
![]()
Have you tried the Import/Export Wizard in Outlook? It will allow you to
import from a .csv file and map the related columns to Contact fields. -- Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ " wrote: Hi, This may have been asked but I did not find a lear answer anywhere so I will ask again. Please accept my apologies if I am inadvertently beating a dead horse. My company is using Access 97 to populate Outlook 2003 personal address books based on CSV's mined out of a point-of-sale solution. They will not upgrade Access (too cheap) and they will not let me install the Access-to-Outlook parts that we would need to mount the address book in Access as a linked table (I think these are ODBC drivers but I am not certain). So, I am left with opening the PAB using the Outlook Office objects (Namespace, AddressList, AddressEntry, etc..) and running through the csv data record by record and adding the entries into the PAB one at a time. This is fine but, to do this "safely" is very slow. I verify for each line whether the address already exists and act accordingly whether it does or does not. I would prefer to simply clean out the existing PAB contents each time and replace them with the csv information. I have to do this with VBA and, because it is an existing process, the users have to use Access as they are accustomed to double clicking the mdb file to perform the work. Given that I am heavily constrained in the choices I can make here (I would rather code this as an add-in to Outlook but it is not a choice right now), what I need to do is to either a) drop the existing PAB and re-create it prior to populating it or b) clean it out en-masse rather than deleting entries one at a time. I have not found any object that has these abilities. Would anyone out there be able and willing to tell me if this is possible and, if so, what objects to use? If I can find the right direction, I should be able to figure it out. Thanks ![]() -dt |
#3
|
|||
|
|||
![]()
Unfortunately the Import/Export Wizard cannot be automated. Based on the
things you need to do, it's probably best to build a custom import process anyway. -- Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ " wrote: Thanks for the suggestion. I have used it personally but the process that is in place is automated and I can not find how to programatically manipulate the import/export wizard. From the end-users point of view, this process is 1) pull in flat file from web 2) open Access database and wait 3) send emails. The wizard requires that the users know which address book to use and opens up the possibility that the import will be put in the wrong place. Also, the code does do some data validation that the wizard would not know anything about; business logic mostly. Now, if there is a VB or VBA object that can use the import/export in Outlook, that would be great. Something like the DoCmd.TransferText statement does in Access. -dt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
automatic copy of address into address book from messages receive | zip14 | Outlook - Using Contacts | 1 | February 23rd 06 03:30 PM |
How do I export my Comcast address book to Outlook address book? | jciccone | Outlook - Using Contacts | 1 | February 8th 06 05:21 PM |
Outlook 2002 Uses email address not in Contacts or Address book | Pagen | Outlook - Using Contacts | 1 | February 1st 06 06:11 PM |
Send a Group Address list from my address book to another e-mail | Alan George | Outlook - Using Contacts | 1 | January 24th 06 09:42 PM |
Address book program with CRM features to replace Outlook/Express contact book | [email protected] | Outlook - Using Contacts | 0 | January 11th 06 12:36 AM |