Dear Experts, We are getting quick help from you. We appreciate your efforts, always. Attached Code copies a Range from Sheet1 from Selected files & Paste in Active Sheet below each other. Kindly help in making this code more flexible as per below requirement.
There are +400 excel files named as 2400-01.xls, 2400-02.xls, 2400-03.xls and so on 2401-01.xls, 2401-02.xls, 2401-03.xls and so on 600-01.xls, 600-02.xls, 600-03.xls and so. There are other groups with Names like 500*.xls, 700*.xls, 710*.xls, etc For files named 2400*.xls, code should create New Sheet Named as 2400 and paste in it Sheet1 Range from all 2400*.xls files. For files named 2401*.xls code should create New Sheet Named as 2401 and paste in it Sheet1 Range from all 2401*.xls files. For file named 600*.xls code should create New Sheet Named as 600 and paste in it Sheet1 Range from all 600*.xls files. Your guidance & quick support always make our life comfortable. Thanks in advance for your help, please. Regards, Zafar Iqbal -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/d/optout.
Copy Range from Files to Sheets.xls
Description: MS-Excel spreadsheet