Hello,
i would like to transfer data to Access from Excel with a macro. I am quiet new to access so i have no idea of what to do. I have read some forum posts and i managed to transfer a worksheet from excel to access with a macro from Ms access (importexportspreadsheet).
I want to do this with a macro, because i have lots of workbooks, and the import wizard may be too slow for this. My questions are the following:
- What is more common or more flexible, using a macro from Access or Excel to perform the task ? any examples?
- The data is already prepared in Access, how do i program the macro to read the data correctly in order to append it in the existing table (define field, etc..)
- how to import/export multiple excel worksheets to access from a single workbook ?
I appreciate some example code so i can get started,
best regards,
yukipilas
i would like to transfer data to Access from Excel with a macro. I am quiet new to access so i have no idea of what to do. I have read some forum posts and i managed to transfer a worksheet from excel to access with a macro from Ms access (importexportspreadsheet).
I want to do this with a macro, because i have lots of workbooks, and the import wizard may be too slow for this. My questions are the following:
- What is more common or more flexible, using a macro from Access or Excel to perform the task ? any examples?
- The data is already prepared in Access, how do i program the macro to read the data correctly in order to append it in the existing table (define field, etc..)
- how to import/export multiple excel worksheets to access from a single workbook ?
I appreciate some example code so i can get started,
best regards,
yukipilas