ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Importing a csv file (https://www.excelbanter.com/excel-discussion-misc-queries/95213-importing-csv-file.html)

Excel user

Importing a csv file
 
I have created a csv file using the same method I have been using for the
past few years.(by running a macro) I now have Excel 2003. When I convert
a.xls file to .csv and try to import it to the database I get the error "file
does not exist". I can see the .csv file in the directory I am specifying for
the import (and I am using the same csv creation method for the last few
years) so I can't understand what is going on. Any suggestions? Thanks for
the help





Dave Peterson

Importing a csv file
 
Just a complete guess...

Do you show extensions in windows explorer?

Inside windows explorer
tools|folder options|view tab|uncheck "hide extensions for known file types"

Maybe your file is really named:
a.csv.csv
(or a.csv.somethingelse)

If that doesn't help...

Still in Windows Explorer
select the file
hit F2, then ctrl-c
then paste into excel to do a closer examination (=len(a1) to see if it's 5
characters long)



Excel user wrote:

I have created a csv file using the same method I have been using for the
past few years.(by running a macro) I now have Excel 2003. When I convert
a.xls file to .csv and try to import it to the database I get the error "file
does not exist". I can see the .csv file in the directory I am specifying for
the import (and I am using the same csv creation method for the last few
years) so I can't understand what is going on. Any suggestions? Thanks for
the help


--

Dave Peterson


All times are GMT +1. The time now is 01:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com