Hey guys,
That's a TON of code........why not put your functions trim & pad with spaces) into a query.......each field as needed and then when you've got your text formatting all set do a simple docmd.transfer text,delimited destination file?
Just food for thought (and I HATE to type mounds...
Mark,
Here is my guess.........when access is creating a table to store your data in it "sees" the characters "ID" in a field name.....assumes it's a KEY field and doesn't allow duplication......you need to pre-design an empty table in access and set all field data type...
Mark,
Here's my guess......(Any field name in an access table with "ID" in it will almost always get set up an indexed field (most will not allow duplication by default) so if you have duplicate information in this field in your xl data this will generate the first error....your second...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.