Importing Text from the xth row

GlennG

Board Regular
Joined
May 20, 2002
Messages
80
Hello all,

Does Access have a feature that allows text files to be imported from the 2nd line insted of the first ?

Excel provides users with the ability to import text files from the xth line with the "Start Import at row xx".

I just want to skip the first line and import the rest of the file.

Thanks for your time...
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
It doesn't have a specific command such as Transfertext that will allow you to do this, although if you use acImportHTML or acLinkHTML it does allow you to specify a specific tablename.

Method I've used in the past is to import the records into a table as text, then walk the recordset identifying what the record is and what to do with it (eventually writing data into other tables)

Most of the time I've done this, I was working with <256 character records, although there isn't any reason why you can't import into multiple string(255) fields and manipulate them all as needed.

Mike
 
Upvote 0

Forum statistics

Threads
1,221,618
Messages
6,160,872
Members
451,674
Latest member
TJPsmt

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top