Morning everybody!
I'm having problems with TransferSpreadsheet action in a macro that I'm trying to create. All the arguments are fine apart from Range!
I am trying to get data from a spreadsheet and want to do it automatically. The spreadsheet is in a report/form formate so the data cells are spread around the sheet, which is causing the problem. Does anybody know how to upload several ranges? Plus it doesn't like the table fields, I have tried not naming a table so that Access creates its own table, but that doesn't work either! :-(
I also have the following error appear whenever I try to run the macro:
The contents of fields in the 0 record(s) were deleted, and 0 record(s) were lost due to key violations. etc...
Can anybody help me with any of the problems? Or, suggest any other ways of getting data from Excel into Access?
Thanks
[PC2]
I'm having problems with TransferSpreadsheet action in a macro that I'm trying to create. All the arguments are fine apart from Range!
I am trying to get data from a spreadsheet and want to do it automatically. The spreadsheet is in a report/form formate so the data cells are spread around the sheet, which is causing the problem. Does anybody know how to upload several ranges? Plus it doesn't like the table fields, I have tried not naming a table so that Access creates its own table, but that doesn't work either! :-(
I also have the following error appear whenever I try to run the macro:
The contents of fields in the 0 record(s) were deleted, and 0 record(s) were lost due to key violations. etc...
Can anybody help me with any of the problems? Or, suggest any other ways of getting data from Excel into Access?
Thanks
[PC2]