HunterN
Active Member
- Joined
- Mar 19, 2002
- Messages
- 479
Hi,
I am pretty new to Access! So far I have created the table that will accept my Excel spreadsheet. I have made a Form to view the table once it is populated. Also I have code that works to bring in an Excel sheet. And I can open the form and view the table. But here is my problem.
The Excel sheet has Columns A thru Q (I only show 5), and varying amount of rows. The problem arises because in each Excel sheet the amount of rows that pertain to a specific record is variable. By this I mean that in the Excel spreadsheet, for the first record in ColumnA I could have two rows that go with this record. Then starting in ColumnA row 6 i could have seven rows that go with this record.
So when I pull in the spreadsheet I need a way to read it to put each into one row in Access.
I hope this made sense. If you have any suggestions for me, please help! Thanks,
Nancy
I am pretty new to Access! So far I have created the table that will accept my Excel spreadsheet. I have made a Form to view the table once it is populated. Also I have code that works to bring in an Excel sheet. And I can open the form and view the table. But here is my problem.
The Excel sheet has Columns A thru Q (I only show 5), and varying amount of rows. The problem arises because in each Excel sheet the amount of rows that pertain to a specific record is variable. By this I mean that in the Excel spreadsheet, for the first record in ColumnA I could have two rows that go with this record. Then starting in ColumnA row 6 i could have seven rows that go with this record.
Code:
NAME SIZE DESCRIPTION START STOP
Pa1 2 long 951 952
description
Pa2 2 long 953 954
and more
stuff
to come
which
makes it longer
than the one above
PSUP1 2 Long 955 956
So when I pull in the spreadsheet I need a way to read it to put each into one row in Access.
I hope this made sense. If you have any suggestions for me, please help! Thanks,
Nancy