LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I covert Microsoft Word file into Microsoft Excel one? KatK Excel Discussion (Misc queries) 1 April 3rd 08 04:57 PM
How to read workbook (not worksheet) properties with OLEDB 4everDad Excel Worksheet Functions 7 March 5th 08 01:58 PM
How to create a list of file names within a folder in Microsoft Ex Seablue Excel Discussion (Misc queries) 2 April 9th 07 08:44 PM
Importing Microsoft Word File Names jrwaguespack Excel Worksheet Functions 3 March 16th 05 07:41 AM
Using OleDB to get data from Excel dvd00 Excel Discussion (Misc queries) 1 November 30th 04 04:32 PM


All times are GMT +1. The time now is 02:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"