Importing multi-line text file into either Excel or Access

I have a text file having thousands of records, each one six (6) lines long as shown below:

Last, First
Street Address
City, State Zip

Any idea how I might import the above information into either Excel or Access such that each record is stored as follows?

[Name] = Last, First
[Street] = Street
[City] = City
[State] = State
[Zip] = Zip
[E-mail] = E-mail
[Web] = Web

Each line of the text file is terminated with a <CR> and there are no extraneous lines between unique records.

I know how to import this info rather easily if all of the fields were comma delimited with each record on a separate line but I can't see how to do this if each record spans multiple lines.

Thanks in advance for any-and-all assistance.
Lloyd CharlierChief Executive OfficerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jeffrey CoachmanMIS LiasonCommented:
Things like this are always tricky because of things like:
- user errors when inputting the data
- empty values
- Improper or missing delimiters

<here are no extraneous lines between unique records.>
Also it may be tricky to determine the end of a record with no spaces in between records

It may also NOT be a good idea to store the first and last name in one field.

Jeffrey CoachmanMIS LiasonCommented:
You can examine and test this sample very carefully.

i am sure with your experience here you can adapt it to work for you



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jeffrey CoachmanMIS LiasonCommented:'re welcome...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.