Hi all,
New to programming in access. I would like to import data from an excel spreadsheet into an access table. The file is e-mailed to us on a weekly basis and is in the same format each week. Ideally I would like to have a form with a text field for the path and filename and an "IMPORT" command button. Right now I have to manipulate the file in
excel the use the import wizard which is a pain.
Does anyone have a module that can do this?
The data in the spreadsheet start from column 1, row 12. It goes up to column 19 and can have different number of records each week.
The fields in the spreadsheet are (in order):
Date|Invoice#|Description|Card|Site|Address|Grade1|Litres1|Price1|Amount1|Gr
ade2|Litres2|Price2|Amount2|GST|Misc|GrossAmt
In Cells:
A9|B9|C9|E9|F9|I9|J9|K9|L9|M9|N9|O9|P9|Q9|R9|S9
The table in access is called tbl_Transactions and have the same field names as the spreadsheet. I thought this would make it easier.
Your help is much appreciated.
Thanks,
TN
New to programming in access. I would like to import data from an excel spreadsheet into an access table. The file is e-mailed to us on a weekly basis and is in the same format each week. Ideally I would like to have a form with a text field for the path and filename and an "IMPORT" command button. Right now I have to manipulate the file in
excel the use the import wizard which is a pain.
Does anyone have a module that can do this?
The data in the spreadsheet start from column 1, row 12. It goes up to column 19 and can have different number of records each week.
The fields in the spreadsheet are (in order):
Date|Invoice#|Description|Card|Site|Address|Grade1|Litres1|Price1|Amount1|Gr
ade2|Litres2|Price2|Amount2|GST|Misc|GrossAmt
In Cells:
A9|B9|C9|E9|F9|I9|J9|K9|L9|M9|N9|O9|P9|Q9|R9|S9
The table in access is called tbl_Transactions and have the same field names as the spreadsheet. I thought this would make it easier.
Your help is much appreciated.
Thanks,
TN