Thanks Pat. Next is that I'd like to import that table(with multi-line
cells) into an Access Database but the multiple lines give me trouble.
Please advise.
Try using a field with Data Type "Memo"

Signature
Hope this helps!
Pat Garard
Australia.
apgarardATbigpondDOTnetDOTau
Try this:
Run Excel
Create a Workbook with a small amount of data, typical
of that (multi-lined) you wish to get into Access.
Having a Header Row would be Good!!
Close Excel.
In Access, create a 'Test' Database.
In the table window, Right-Click and select 'Link Tables...'
In Files of Type: select 'Microsoft Excel'.
Navigate to your Excel Workbook, select and 'Link'.
Your data is now available as a Table in Access.
You can run Queries on it, including Append Queries to
add the data to an existing Table.
Don't forget to make columns in the native Table, that are
going to receive multi-lines, type Memo.

Signature
Hope this helps!
Pat Garard
Australia.
apgarardATbigpondDOTnetDOTau
Useko Netsumi - 30 Sep 2003 01:17 GMT
Thanks Pat.
But it still did not work with the multi-line(just to make sure. It is not a
wrap-around multi-line cell but multi-line with a hard CR/LF). Each line
becomes a record therefore it messes up the import.
Lets me try to illustrate:
The below table was created on MS Word 2002
A B C D E
1 N-1 (image1) this is a $1.00 Another
2 multiline multiline
3 cell. cell
4 N-2 (image2) single line $2.00 one liner
5 N-3 (image3) line1 $5.00 lst line
6 line2 2nd line
7 line3.
8
9
Then, I open Excel 2002 workbook, and copy-paste
the above table. I got exactly the above.
A B C D E
1 N-1 (image1) this is a $1.00 Another
2 multiline multiline
3 cell. cell
4 N-2 (image2) single line $2.00 one liner
5 N-3 (image3) line1 $5.00 lst line
6 line2 2nd line
7 line3.
8
9
Therefore when I import them into the Access 2002 database,
each line is a record.
A B C D E
1 N-1 (image1) this is a $1.00 Another <-
record 1
2 multiline multiline
<- record 2
3 cell. cell
<- record 3
4 N-2 (image2) single line $2.00 one liner <-
record 4
5 N-3 (image3) line1 $5.00 lst line <-
record 5
6 line2 2nd line
<- record 6
7 line3.
<- record 7
8
9
What I expect to get is that the following in the Excel/Acess table:
A B C D E
1 N-1 (image1) this is a $1.00 Another }
multiline
multiline } -> record 1
cell.
cell }
2 N-2 (image2) single line $2.00 one liner ->
record 2
3 N-3 (image3) line1 $5.00 lst line }
line2 2nd
} -> record 3
}
4
5
6
7
8
9
Your help is greatly appreciated. I wonder if Microsoft MSCE is watching
and give us the answer.
Thanks.
> Try this:
> Run Excel
[quoted text clipped - 15 lines]
> Don't forget to make columns in the native Table, that are
> going to receive multi-lines, type Memo.
Useko Netsumi - 30 Sep 2003 01:41 GMT
hanks Pat.
But it still did not work with the multi-line(just to make sure. It is not a
wrap-around multi-line cell but multi-line with a hard CR/LF). Each line
becomes a record therefore it messes up the import.
Lets me try to illustrate:
The below table was created on MS Word 2002
A B C D E
1 N-1 (image1) this is a $1.00 Another
2 multiline multiline
3 cell. cell
4 N-2 (image2) single line $2.00 one liner
5 N-3 (image3) line1 $5.00 lst line
6 line2 2nd line
7 line3.
8
9
Then, I open Excel 2002 workbook, and copy-paste
the above table. I got exactly the above.
A B C D E
1 N-1 (image1) this is a $1.00 Another
2 multiline multiline
3 cell. cell
4 N-2 (image2) single line $2.00 one liner
5 N-3 (image3) line1 $5.00 lst line
6 line2 2nd line
7 line3.
8
9
Therefore when I import them into the Access 2002 database,
each line is a record.
A B C D E
1 N-1 (image1) this is a $1.00 Another <-rec1
2 multiline multiline
<-rec2
3 cell. cell
<-rec3
4 N-2 (image2) single line $2.00 one liner <-rec4
5 N-3 (image3) line1 $5.00 lst line <-rec5
6 line2 2nd line
<-rec6
7 line3.
<- rec7
8
9
What I expect to get is that the following in the Excel/Acess table:
A B C D E
1 N-1 (image1) this is a $1.00 Another }
2 multiline
multiline }rec1
3 cell.
cell }
4 N-2 (image2) single line $2.00 one liner <rec1
5 N-3 (image3) line1 $5.00 lst line }
6 line2 2nd line }rec3
7 line3. }
8
9
Your help is greatly appreciated. I wonder if Microsoft MSCE is watching
and give us the answer.
Thanks.
> Try this:
> Run Excel
[quoted text clipped - 15 lines]
> Don't forget to make columns in the native Table, that are
> going to receive multi-lines, type Memo.
Hi Useko,
Use the second method in the article at
http://www.mvps.org/word/FAQs/TblsFldsFms/WordToAccess.htm

Signature
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
> Thanks Pat. Next is that I'd like to import that table(with multi-line
> cells) into an Access Database but the multiple lines give me trouble.
[quoted text clipped - 39 lines]
> > >
> > > PS: I'm using OfficeXP.