Hi, the method using Classic I/O is to read and write to txt files, How would this be when reading and writing with an MS Excell sheet? Or is there any other way with VBA to import data from Excell?
Give it a go and explore the different parameters.
Abraham BreuerOP
@Reply 3 years ago
Thanks Kevin,
I will need to read and write to pull in information from an order detail spreadsheet and append it to the database on a regular basis, will this work?
its basicly what the import wizzard does, just automated with vba.
Kevin Robertson
@Reply 3 years ago
Yes. The first parameter is Transfer Type. Set to AcImport to import from Excel. I would recommend importing to a Temp table first so you can check the data first before appending to your main table. In any case remember to make good BACKUPS first.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Developer 30.