H
H0MELY
Greetings all and thank you for looking at my post. Two part question.
First question is that I want to import a .csv file into a pre-existing table
in access. The fields are all setup as text, I do not want access to format
any of the data, just shove it into the cells. Here is my issue...
I would like the user to have the ability to locate the file, but that is
it. I want the type of file being selected and the table that the file is
being imported into to be hard coded. If they select a file that is not
formatted correctly I want an error to pop up that says bad file and allows
them to pick a new file.
The file will be a coma seperated text file with 8 columns.
At the end of processing the imported data I want to export the file. I
want it exported as an excel spreadsheet with a pre-chosen name...but again I
want them to be able to decide where to save it.
Any words of wisdom would be greatly appreciated. My last question would be
suggestions for the best Access VBA book for a beginner-intermediate user.
What has happened is that a lot of the tools I built for myself are now going
to be distributed, which means I have to clean them up a little.
Unfortunately I can see no other way to accomplish what I want without VBA.
Baptism by fire you may say. Thank you again for looking =)
-John
First question is that I want to import a .csv file into a pre-existing table
in access. The fields are all setup as text, I do not want access to format
any of the data, just shove it into the cells. Here is my issue...
I would like the user to have the ability to locate the file, but that is
it. I want the type of file being selected and the table that the file is
being imported into to be hard coded. If they select a file that is not
formatted correctly I want an error to pop up that says bad file and allows
them to pick a new file.
The file will be a coma seperated text file with 8 columns.
At the end of processing the imported data I want to export the file. I
want it exported as an excel spreadsheet with a pre-chosen name...but again I
want them to be able to decide where to save it.
Any words of wisdom would be greatly appreciated. My last question would be
suggestions for the best Access VBA book for a beginner-intermediate user.
What has happened is that a lot of the tools I built for myself are now going
to be distributed, which means I have to clean them up a little.
Unfortunately I can see no other way to accomplish what I want without VBA.
Baptism by fire you may say. Thank you again for looking =)
-John