Hi,
I have a report that I am automating. The process consists in an Excel VBA Macro that gives the format to some excel files and saves them in an specific folder for access to take these files and import them into the corresponding tables.
I was able to automate this process through an Excel Macro that does the first part and an Access VBA module that imports the Excel information into the corresponding tables and deletes/appends the information as needed.
What I want to know now is these:
1. How can I connect these two VBA codes (the one from excel that consists in three Macros) and the one in Access? And
2. Is it better to A) run everything form Excel where I can click on the button that runs the macros and make it open the Access file and run the module or B) to run this from an Access form that opens the Excel containing the macro, runs it and then works on the rest of the Access code?
Thanks a lot!
Sebastian
I have a report that I am automating. The process consists in an Excel VBA Macro that gives the format to some excel files and saves them in an specific folder for access to take these files and import them into the corresponding tables.
I was able to automate this process through an Excel Macro that does the first part and an Access VBA module that imports the Excel information into the corresponding tables and deletes/appends the information as needed.
What I want to know now is these:
1. How can I connect these two VBA codes (the one from excel that consists in three Macros) and the one in Access? And
2. Is it better to A) run everything form Excel where I can click on the button that runs the macros and make it open the Access file and run the module or B) to run this from an Access form that opens the Excel containing the macro, runs it and then works on the rest of the Access code?
Thanks a lot!
Sebastian