Hello there,
I have a folder containing 3 files : my Excel file (with my macro), Book1 and Book2.
I would like to create a macro to import automatically my two ".xlsx" files (Book1 and Book2) in my Excel file.
Data from Book1.xlsx would be placed in Sheet1 and Book2.xlsx in Sheet2. I also want to keep the source formatting (from Book1 and Book2).
Book1 and Book2 are always placed in the same folder as my Excel file.
I would like to use this macro in different folders, always containing my Excel file, Book1 and Book2, I guess the macro has to detect Book1 and Book2 using the pathname of my Excel file.
If anyone could give some help that would be great.
Thanks
I have a folder containing 3 files : my Excel file (with my macro), Book1 and Book2.
I would like to create a macro to import automatically my two ".xlsx" files (Book1 and Book2) in my Excel file.
Data from Book1.xlsx would be placed in Sheet1 and Book2.xlsx in Sheet2. I also want to keep the source formatting (from Book1 and Book2).
Book1 and Book2 are always placed in the same folder as my Excel file.
I would like to use this macro in different folders, always containing my Excel file, Book1 and Book2, I guess the macro has to detect Book1 and Book2 using the pathname of my Excel file.
If anyone could give some help that would be great.
Thanks