accessing the Import function programmatically

  • Thread starter Thread starter cody
  • Start date Start date
C

cody

I want to import a CSV file into the outlook contacts automatically
everytime outlook starts up.
How can I access the outlook contacts import facility?
 
You can't, the best you can do that way is to get to the start screen of the
import wizard by using code to find that menu item in the File menu and
using its Execute method. Otherwise you have to write your own code to get
the CSV file (maybe using Excel automation), read all the columns for each
row and use the values in the columns to populate properties in new items
you create using code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top