Error Importing Fixed-Width Text File

G

Guest

I want to import a fixed-width text file using VBA. I set up an import spec.

When I import the file manually (File >> Get External Data >> Import
....), the file imports properly.

When I use a macro (with the import spec), the data in each record gets
dumped into the first field of the record.

When I use VBA (with the import spec), I get an Error 31519: You cannot
import this file.

Any suggestions?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top