I have around 300,000 rows of data in Excel that I need to export to Access.
One way to do that is to loop through the data and add records one by one.
Another, manually open Access and use Get External Data option to import into Access. However, I want to automate this latter option from Excel...In Excel I want to write a function that takes excel range, access db and table as parameter and uses Access's Docmd.transferspreadsheet command...all this from Excel without having to open Access. I want to avoid having to loop record by record.
Still another method that I used with lesser no. of records (upto 60000 rows) is to create a sql query on excel range and insert into access at one go. It doesn't work with large no. of data though.
One way to do that is to loop through the data and add records one by one.
Another, manually open Access and use Get External Data option to import into Access. However, I want to automate this latter option from Excel...In Excel I want to write a function that takes excel range, access db and table as parameter and uses Access's Docmd.transferspreadsheet command...all this from Excel without having to open Access. I want to avoid having to loop record by record.
Still another method that I used with lesser no. of records (upto 60000 rows) is to create a sql query on excel range and insert into access at one go. It doesn't work with large no. of data though.