I need some help there that involving in automation on excel in inserting an worksheet and copy the data over
I have added some example below
I would like to add 4 new sheet named A, B, C and D which is optional to my book1.xlsm
i have some excel file name with A , B, C and D(optional) so how can i copy over my excel file to my book1 with the name provided
For A, B, C, D excel file there have some number infront for their unique name while in between they have this unique letter of A, B, C and D will stay there forever
So based on my scenario am come with an automation to copy the data and insert the sheet name ? Test files.zip (31.1 KB)
as currently i have a condition where i cant just copy directly where the name of the other excel contain some keyword = to the sheet i going to paste in
Like say sheet A = 123_A_ABC2023.xlsx etc
Sheet B = 123_B_2023.xlsx
so i cant say i wan copy sheet A to 123_B_ABC2023.xlsx