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.
 
Back
Top