Hello,
I did some research on the macro I need but I guess this one was not asked before. I have a challenge in front of me which will save tons of time to me. Here is what I need:
I have 30+ workbooks in a directory, each has only one sheet. I have another main spreadsheet where I am doing all the calculations. This main spreadsheet has sheets with the same names with only an extension added at the beginning. To be more specific, let's say the workbooks in the directory are named: ABC.xlsx, DEF.xlsx, GHI.xlsx and the main spreadsheet has sheets named X_ABC, X_DEF, X_GHI. The reason for that I have other sheets in that main workbook. I have some other macros that are calling based on the extension at the beginning.
I need to copy the information in sheet1 of ABC.xlsx into the sheet named X_ABC , DEF.xlsx into the sheet named X_DEF, ... of the main spreadsheet if that sheet exists in the main workbook.
Is this even possible?
I appreciate any help.
Thanks for looking my message.
I did some research on the macro I need but I guess this one was not asked before. I have a challenge in front of me which will save tons of time to me. Here is what I need:
I have 30+ workbooks in a directory, each has only one sheet. I have another main spreadsheet where I am doing all the calculations. This main spreadsheet has sheets with the same names with only an extension added at the beginning. To be more specific, let's say the workbooks in the directory are named: ABC.xlsx, DEF.xlsx, GHI.xlsx and the main spreadsheet has sheets named X_ABC, X_DEF, X_GHI. The reason for that I have other sheets in that main workbook. I have some other macros that are calling based on the extension at the beginning.
I need to copy the information in sheet1 of ABC.xlsx into the sheet named X_ABC , DEF.xlsx into the sheet named X_DEF, ... of the main spreadsheet if that sheet exists in the main workbook.
Is this even possible?
I appreciate any help.
Thanks for looking my message.