View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
[email protected] billsahiker@yahoo.com is offline
external usenet poster
 
Posts: 2
Default Microsoft.Jet.OLEDB error with csv file names

HI,

I am trying to use Microsoft.Jet.OLEDB to import csv files into a
dataset. ON some of the files I get an error and the one thing those
files have in common is they have spaces and hypens in the file name.
If I rename the file and remove the spaces and hypens, the import
works without an error. An example of one that failed:

Willem - pass 1 13 may 08.csv

Anyone know what is wrong? the filenames are valid -I can open them in
Excel. For now, I rename them in code.

Bill