S
s
The word 2007(.docx) is saved as a plain text(.txt) file first. Then,
I add a delimiter(#) to each row
manually. The tables in the document look like below
Table 1
Row 1 data#
Row 2 data#
Row 3 data#
Row 4 data#
..
..
..
Table 2
Row 1 data#
Row 2 data#
Row 3 data#
..
..
..
..
Table 3
Row 1 data#
Row 2 data#
Row 3 data#
..
..
..
and so on
Then, go into Access 2007, External Data, Text File to import the text
file data into Access choosing # as the delimiter
The table which is created in Access 2007 is as follows
Field1
Row 1 data of Table 1
Row 2 data of Table 1
Row 3 data of Table 1
..
..
..
Row 1 data of Table 2
Row 2 data of Table 2
Row 3 data of Table 2
Row 4 data of Table 2
..
..
..
Row 1 data of Table 3
Row 2 data of Table 3
Row 3 data of Table 3
Row 4 data of Table 3
whereas I want the table in Access to look like
Field 1 Field 2 Field
3 Field 4 .....Field N
Row 1 data of Table 1. Row 2 data of Table 1 Row 3 data of Table 1 Row
1 data of Table 2 .....
..
..
Can someone please advise if that can be done or do I need to develop
some VBA code for that?
If I need to use VBA code, some pointers in that direction would be
appreciated.
Thanks
I add a delimiter(#) to each row
manually. The tables in the document look like below
Table 1
Row 1 data#
Row 2 data#
Row 3 data#
Row 4 data#
..
..
..
Table 2
Row 1 data#
Row 2 data#
Row 3 data#
..
..
..
..
Table 3
Row 1 data#
Row 2 data#
Row 3 data#
..
..
..
and so on
Then, go into Access 2007, External Data, Text File to import the text
file data into Access choosing # as the delimiter
The table which is created in Access 2007 is as follows
Field1
Row 1 data of Table 1
Row 2 data of Table 1
Row 3 data of Table 1
..
..
..
Row 1 data of Table 2
Row 2 data of Table 2
Row 3 data of Table 2
Row 4 data of Table 2
..
..
..
Row 1 data of Table 3
Row 2 data of Table 3
Row 3 data of Table 3
Row 4 data of Table 3
whereas I want the table in Access to look like
Field 1 Field 2 Field
3 Field 4 .....Field N
Row 1 data of Table 1. Row 2 data of Table 1 Row 3 data of Table 1 Row
1 data of Table 2 .....
..
..
Can someone please advise if that can be done or do I need to develop
some VBA code for that?
If I need to use VBA code, some pointers in that direction would be
appreciated.
Thanks