Dear Expert. Excellent Work. Bundle of thanks for it.
Regards, Zafar Iqbal On Saturday, 10 January 2015 10:51:39 UTC+3, Vabz wrote: > > Hi Zafar, > > check this attachment.. > > Macro will chk for sheet name exist for filename xxxx for file string > xxxx-001.xls > > If exist then data will be copied in same sheet else new sheet will be > added at the end.. > > Cheers!! > > ᐧ > > On Thu, Jan 8, 2015 at 9:22 PM, Zafar Iqbal <ziqb...@gmail.com > <javascript:>> wrote: > >> Dear Expert, No need of replacement of existing data if it will be >> difficult to handle in big code. Thanks >> On Jan 8, 2015 6:46 PM, "Vaibhav Joshi" <v...@vabs.in <javascript:>> >> wrote: >> >>> And what abt same records if exist.. wanna replace or keep duplicate >>> records?? >>> On Jan 8, 2015 9:15 PM, "Zafar Iqbal" <ziqb...@gmail.com <javascript:>> >>> wrote: >>> >>>> First run of code will create summary sheets 2400, 2401, 600, etc. >>>> Later on while updation new files data will be pasted below existing data >>>> in related summary sheets. Like 2400-08.xls will be pasted below existing >>>> last data in summary sheet 2400. >>>> On Jan 8, 2015 5:41 PM, "Vaibhav Joshi" <v...@vabs.in <javascript:>> >>>> wrote: >>>> >>>>> what if there is sheet with name 2400, 2401 & 600 already exist? >>>>> >>>>> What about rest of file name? >>>>> ᐧ >>>>> >>>>> +++++ >>>>> *I did not do this for you. God is here working through me for you.* >>>>> >>>>> On Thu, Jan 8, 2015 at 2:38 PM, Zafar Iqbal <ziqb...@gmail.com >>>>> <javascript:>> wrote: >>>>> >>>>>> 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.