COMBINE Multiple Excel WORKBOOKS into One | ExcelJunction.com

Link to VBA Code
www.exceljunction.com/combine...
We might need to combine multiple workbooks into one workbook in order to analyse or present the information better. Though this can be done manually, by moving or copying all the worksheets from different workbooks into one workbook, but it would be time consuming and prone to errors. Moreover if there are a large number of workbooks/worksheets, then the problem is even bigger.
However, we have a solution to this and it would not take more than a few seconds to get all workbooks merged into one. Here is the VBA code that can help us achieve this. Even those who are not well versed with VBA can easily get this done by simply following the video on how to use this code.
Merge Two or More Excel Workbooks into One
If you want to combine ONLY FIRST WORKSHEET of multiple Excel workbooks see this video • COMBINE Multiple Excel...

Пікірлер: 1 400

  • @senthil4707
    @senthil47075 жыл бұрын

    Hi, Wow. That just worked. Thanks for sharing this info. I am able to combine 50 files from different workbooks to 1 Master file and with each file in different worksheet !!! Thanks, Senthil

  • @pedrocampelo8925

    @pedrocampelo8925

    5 жыл бұрын

    Did you open those 50 files to run the code?

  • @manjuh4621

    @manjuh4621

    4 жыл бұрын

    Bhai VBA code kaise lenaa ??

  • @nengtech6914

    @nengtech6914

    4 жыл бұрын

    awsome

  • @shivangbedi1585

    @shivangbedi1585

    2 жыл бұрын

    Can you tell me how can I directly combine it in one sheet

  • @12419784
    @124197845 жыл бұрын

    Extremely thankful to you. It worked like a miracle. I was badly searching for this. I was having more than 200 different excel files which I wanted to get in a single excel workbook. Your VBA Code made it much easier. Thanks a lot again.

  • @Mark-bq2ts

    @Mark-bq2ts

    4 жыл бұрын

    where is the vba code to copy

  • @pondururaghuram6816

    @pondururaghuram6816

    4 жыл бұрын

    Can you send the vb script once

  • @ayushmaharjan4632

    @ayushmaharjan4632

    11 ай бұрын

    Vba patha na machikni randikoxoro dui jana le sodhisakyo k fuckijg shitheadsdd

  • @qaisarali594
    @qaisarali594 Жыл бұрын

    Sir, I am extremely grateful to you for this video. I had to work on 400-plus workbooks which were kinda impossible, but now I did it in a matter of seconds. ⭐⭐⭐⭐⭐⭐⭐

  • @jeannamaegalban2232

    @jeannamaegalban2232

    Жыл бұрын

    Where did you get the VBA Code? The link isn't working on my end.

  • @Exceljunction

    @Exceljunction

    Жыл бұрын

    Glad it helped!

  • @Exceljunction

    @Exceljunction

    Жыл бұрын

    Please revisit the page and try downloading again. The issue has been fixed.

  • @chaosgoblin89167
    @chaosgoblin891672 жыл бұрын

    Thanks a MILLION for this! Made combining six different C-Suite excel files of goals and priorities into one SO much easier, and saved me so much time!!!

  • @AntiFurryJihad

    @AntiFurryJihad

    2 жыл бұрын

    I did my work in to different workbook and was pissed off

  • @christychen1850

    @christychen1850

    2 жыл бұрын

    Can you please share the code? I can not download it, it just wont work .

  • @shankerachugatla1314

    @shankerachugatla1314

    Жыл бұрын

    In Description i didn't found any code. Can you provide me the code please.

  • @xiejn9634
    @xiejn96342 жыл бұрын

    This works perfectly. Thank you for spreading the knowledge around ! 👍

  • @MB-yw6rd
    @MB-yw6rd5 жыл бұрын

    Worked perfectly, Thank you!!

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    Thanks for appreciating. Please "like" and "subscribe" for more such useful videos.

  • @MrCybyCY
    @MrCybyCY6 жыл бұрын

    Hi What if I updated something on my individual worksheets would be reflected to the MASTER worksheet also and vice versa ? or

  • @Exceljunction

    @Exceljunction

    6 жыл бұрын

    No. You have to re-run the code for updations.

  • @jamesscott6864

    @jamesscott6864

    4 жыл бұрын

    @@Exceljunction does that mean i have to rerun the module ? but if i do that, will it update the data in the master workbook or it will recreate new worksheets to the one it already have ?

  • @jamesscott6864

    @jamesscott6864

    4 жыл бұрын

    Okay i tried it myself, it doesn't update, it creates new sheets

  • @kevinpony3620
    @kevinpony36206 жыл бұрын

    didn't know this process contains such complected steps. thank you!

  • @BIGGPHILL
    @BIGGPHILL5 жыл бұрын

    Lifesaver!!! Thank you so much for this!!

  • @hoodfiona2886
    @hoodfiona28864 жыл бұрын

    Thank you, brilliant, this worked well, so easy and clean and has been a big help. I also modified the code slightly to pick up .csv files instead of excel files. Now to find out how to merge all the tabs into one. It would be even simpler if the code was just pasted in the comments. Thanks again for posting such clear video. There were no errors I found into the code, it worked perfectly the first time.

  • @aasikahamed5664

    @aasikahamed5664

    Жыл бұрын

    Please post the code for CSV

  • @Manjunathsinghnath

    @Manjunathsinghnath

    5 ай бұрын

    Can you please share the code which we need to put in code window

  • @serpilsanli9181
    @serpilsanli91814 жыл бұрын

    That's great, much thanks for your help by sharing this to the world!

  • @kirkmcdonald4759
    @kirkmcdonald47595 жыл бұрын

    Very helpful code! I am having one problem I can't figure out: The Filename variable is always set to "" so the code stops running before opening any files. I have copied the code exactly (Filename = Dir(Path & "*.csv")). Is it because these are text files? Any ideas are much appreciated!

  • @seizuresaladventures
    @seizuresaladventures5 жыл бұрын

    Thanks for sharing your knowledge on this 👍

  • @nasibasharipova4287
    @nasibasharipova42874 жыл бұрын

    This is great! Thank you. Do you also have a code that takes three identical files and merges them into a new workbook under one tab. Let's say I have exactly the same sales report template that I send out to different sales districts, and then I need to combine those three sales reports into one worksheet? The headers are the same on all the files.

  • @Exceljunction

    @Exceljunction

    4 жыл бұрын

    Try consolidate function

  • @logantaylor6614

    @logantaylor6614

    3 жыл бұрын

    superwoman

  • @nadeemhussain6138

    @nadeemhussain6138

    3 жыл бұрын

    @@logantaylor6614 Hi are you know about this function then kindly help us.

  • @Exceljunction

    @Exceljunction

    3 жыл бұрын

    Yes. Plz refer to another video: kzread.info/dash/bejne/q6t3mqOAnJCnp7g.html

  • @KEN_DEN

    @KEN_DEN

    2 жыл бұрын

    Power Query. . . Does the same thing but without VBA

  • @gracealmene3570
    @gracealmene3570 Жыл бұрын

    You're a legend! Thank you so much for this video! You have me save a million of hours just consolidating worksheets!

  • @Exceljunction

    @Exceljunction

    Жыл бұрын

    Happy to help!

  • @shifangli1009
    @shifangli10095 жыл бұрын

    It works like miracle! Thank you!

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    Thank you ! Please do not forget to SUBSCRIBE the channel for more such useful videos.

  • @ThyBlackWings
    @ThyBlackWings5 жыл бұрын

    It worked for me, I merged 184 files. In my case I had to modify the 4th line slightly, since I was merging .csv files. So I changed the .xls part to .csv and ran the script. Thanks a lot.

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    Thank you ! Please do not forget to SUBSCRIBE the channel for more such useful videos.

  • @savivasup

    @savivasup

    4 жыл бұрын

    Thank you so much... without this comment I would have been still stuck! 🙌🏿

  • @girishgk395

    @girishgk395

    2 жыл бұрын

    Special thanks to you..

  • @johnhenrywashington8369

    @johnhenrywashington8369

    2 жыл бұрын

    Maaaaannnn thank you for noting the change from .xls to .csv....was not working for me until i did that!! Thank you alot

  • @NimeLime

    @NimeLime

    Жыл бұрын

    Where is the code? I have to type Manually?

  • @cminor8549
    @cminor85495 жыл бұрын

    It worked very well for me. Pay attention to the type of file you are trying to combine. The formulas provided are for 'xls' and 'xlsx'. use the proper formatting for the proper files and it should work well for you. Thanks for the short cut!!!!

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    Cheers!

  • @shankerachugatla1314

    @shankerachugatla1314

    Жыл бұрын

    In Description i didn't found any code. Can you provide me the code please.

  • @LuthoLawata
    @LuthoLawata4 жыл бұрын

    This was so useful!! Thank you for this tutorial.

  • @Nettwork007
    @Nettwork0075 жыл бұрын

    It works fantastic. Could you tell me what should I change in the code to copy only 1 specific worksheet istead all of them? Where should I implement the refernce workbook name? for example I would like to copy only WS-3a table.

  • @mayalawlaqi6190
    @mayalawlaqi6190 Жыл бұрын

    Thank you for spreading the knowledge around! Can you please provide us an explanation about the VBA code? For better understanding the code and not to just copy and paste it. Thank you once again.

  • @VIITEducation

    @VIITEducation

    Жыл бұрын

    kzread.info/dash/bejne/lGer1tlxh8XMe84.html

  • @Exceljunction

    @Exceljunction

    Жыл бұрын

    Yes, soon

  • @9202100810
    @92021008104 жыл бұрын

    Thank you, fully working on excel 365 2019

  • @prasadkulkarni9289
    @prasadkulkarni92894 жыл бұрын

    Hi I am notable to run this marco due to error as "Run-time error 424" Don't know why, Can some help on this issue how to fix?

  • @LJExcel
    @LJExcel2 жыл бұрын

    I would like to something similar to this. I would like to have tables in different workbooks join one main table in my main file. The number of files with tables will increase overtime, and I would like this to be automated. Is this possible?

  • @teresasaterfield1985
    @teresasaterfield19855 жыл бұрын

    Amazing... thank you!! Greatly appreciated!!!!!

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    Thanks for appreciating.

  • @melissadavis1844
    @melissadavis18442 жыл бұрын

    This was a time and life saver! Thank you!

  • @xuefang2858

    @xuefang2858

    2 жыл бұрын

    can i have the VBA code?

  • @Exceljunction

    @Exceljunction

    2 жыл бұрын

    Apologies for the inconvenience. The link is working fine now. www.exceljunction.com/combine-multiple-excel-workbooks-into-one-workbook/

  • @tutsecret499
    @tutsecret49910 ай бұрын

    When you combined the workbooks, did create tabs of each file you combined? I want to combine only specific rows from specific separate workbooks, example: combine the text found on row B2 and placed on the master, and do the same with next workbook. Example project. I have a survey with 100 responders, each responder is one file where the responder select answer located on B2. I want this way so can calculate all the answers from each responder in same workbook. I could do this in google forms that would do the job. But I dont want to use google forms because sometimes I don't have access to the drive google.

  • @justsyedz
    @justsyedz5 жыл бұрын

    SIR IS IT POSSIBLE TO MAKE THESE SHEET CONNECTED WITH A SPECIFIC COLUMN . SO WHERE WE CAN JUST CLICK ON THE S.NO OR INVOICE NUMBER AND IT TAKE US TO THAT SHEET FOR DETAILS Excel Junction

  • @sultanayyubi1380
    @sultanayyubi13805 жыл бұрын

    from where did you get code..? that is not showing in your video.

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    Link to code is in the video description. However, you may check the code here: www.exceljunction.com/combine-multiple-excel-workbooks-into-one-workbook/

  • @saikiransyan777

    @saikiransyan777

    4 жыл бұрын

    we didn't get that code in that page Bro...!!!

  • @oluwaseyipeterorodele8810

    @oluwaseyipeterorodele8810

    2 жыл бұрын

    Please Why am I getting compile error

  • @gopigk8057
    @gopigk80575 жыл бұрын

    Sir, simply awesome. Along with this, if you explain code also step by step, it will help us to understand and learn the macro.. How to write and how to execute. Anyway thanks once again sir, for your knowledge sharing.

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    Thanks for your kind words. Will surely try explaining usage of VBA in upcoming videos.

  • @shankerachugatla1314

    @shankerachugatla1314

    Жыл бұрын

    In Description i didnt found any code. Can help you help me..

  • @johncanalese588
    @johncanalese5886 жыл бұрын

    I've had no luck running this VBA script on "Excel for Mac 2011". I get a Compile Error - Syntax Error being reported and the code "Sub GetSheets()" being highlighted. Not sure if this function is available?

  • @Exceljunction

    @Exceljunction

    6 жыл бұрын

    +John Canalese Sorry John, haven't tried this on Mac. The script has been well tested on Windows.

  • @luvlycan

    @luvlycan

    6 жыл бұрын

    John Canalese Not sure on Mac, but before pasting this code write "Option Explicit" (without Double quotes) and then paste the code. If problem still continue, plz let me know

  • @LouRayR

    @LouRayR

    6 жыл бұрын

    Variable not defined on Path =

  • @lubomirstoytchev
    @lubomirstoytchev3 жыл бұрын

    Nice and clean code that works! Thanks a lot!

  • @shivamdoshi9805
    @shivamdoshi98053 жыл бұрын

    To all those facing errors, make sure the main Excel Folder with all files are in C Drive and Documents

  • @shankerachugatla1314

    @shankerachugatla1314

    Жыл бұрын

    In Description i didnt found any code. Can you provide me please.

  • @Ankit12345689
    @Ankit123456895 жыл бұрын

    Whenever I run macro it shows error in Sheet. Copy after:=Thisworkbook.sheets(1) Please help

  • @versusstats7051

    @versusstats7051

    4 жыл бұрын

    Try replacing sheet with x in the for loop

  • @jamsajise6765

    @jamsajise6765

    4 жыл бұрын

    I am having this error too

  • @Ankit12345689

    @Ankit12345689

    4 жыл бұрын

    Pls make video on it or explain this error.

  • @prudhviraju1536

    @prudhviraju1536

    4 жыл бұрын

    @@Ankit12345689 I am also getting same error.

  • @shailaja369

    @shailaja369

    4 жыл бұрын

    Sheet.Copy After:=Thisworkbook.sheets(1) After Sheet. you have kept an extra space and in word after "a" has to be Capital the right format has typed above

  • @rewphixer
    @rewphixer3 жыл бұрын

    Needed this badly? You saved me sooooo much future time. Very Grateful

  • @Exceljunction

    @Exceljunction

    3 жыл бұрын

    Glad that you found it useful. Please do subscribe the channel for more such useful videos.

  • @Exceljunction

    @Exceljunction

    3 жыл бұрын

    Link is given in the description

  • @nabilaumeer4534
    @nabilaumeer45345 жыл бұрын

    Thanks so much! God bless! Can we consolidate data that have exact same headers from multiple files into a single sheet?

  • @mathursvideos4082

    @mathursvideos4082

    5 жыл бұрын

    yes i will tell you

  • @nabilaumeer4534

    @nabilaumeer4534

    5 жыл бұрын

    @@mathursvideos4082 Yes Sir, go on.

  • @anilbharadwajchivukula8879
    @anilbharadwajchivukula88793 жыл бұрын

    I tried many times, It's not working

  • @Exceljunction

    @Exceljunction

    3 жыл бұрын

    Check if you're using the correct code XLS or XLSX and follow steps carefully. Let us know how it goes.

  • @pikunessfilm

    @pikunessfilm

    9 ай бұрын

    I am doing xls. It's not working

  • @amrendrakumar7255
    @amrendrakumar72555 жыл бұрын

    It's not working properly, I followed each trick 3-4 times.

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    Is this still an issue?

  • @siddhidajha2847

    @siddhidajha2847

    5 жыл бұрын

    @@Exceljunction yes it is...

  • @Excel10tutorial

    @Excel10tutorial

    5 жыл бұрын

    @@siddhidajha2847 Which excel version you are using?

  • @Radhyakulshreshthablogs

    @Radhyakulshreshthablogs

    5 жыл бұрын

    @@Excel10tutorial show the error is run time error 1004: I m usingexcel 2007

  • @PeggywongPeggy
    @PeggywongPeggy4 жыл бұрын

    can I email my file to you as I have received the code. I have try the running it very good, but I need to sum it up via by salary for whole years how mush is the staffs tax. I want to do a addtional run just below the code. how to do it?

  • @YepItsMaeh
    @YepItsMaeh4 жыл бұрын

    This is very helpful. Thank you for sharing!

  • @Exceljunction

    @Exceljunction

    4 жыл бұрын

    Thanks for appreciating

  • @Berghiker
    @Berghiker5 жыл бұрын

    Just what I was looking for. Thanks.

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    Glad, could be of help.

  • @sheldonthomas9946
    @sheldonthomas99464 жыл бұрын

    Worked perfectly, thanks.

  • @abdiazizmoalimhussein2348
    @abdiazizmoalimhussein23484 ай бұрын

    Thanks am new to this course but it is very interesting for us. when I want to compare two years budgets what is the simple method i use?

  • @openmind2012
    @openmind20125 жыл бұрын

    Thanks it worked like a charm to combine multiple workbooks into one! Saves so much time instead of copying the sheets to a workbook.

  • @Manjunathsinghnath

    @Manjunathsinghnath

    5 ай бұрын

    Can you please share the code which we need to put in code window

  • @esperancemutegwaraba3455
    @esperancemutegwaraba34554 жыл бұрын

    Thank you for this helpful tutorial.

  • @CORVETTERZO6
    @CORVETTERZO64 жыл бұрын

    Thanks for the video! Is there a way to only copy in sheets with certain names? I don't want it to pull in every sheet from the source files.

  • @Exceljunction

    @Exceljunction

    4 жыл бұрын

    Please check out this video. Let us know if it suits your requirement. kzread.info/dash/bejne/q6t3mqOAnJCnp7g.html

  • @conradGOMESconrad
    @conradGOMESconrad4 жыл бұрын

    Does the combined workbook update itself when the individual workbooks are edited. Pl clarify... Thanks

  • @forcexdicas3827
    @forcexdicas38272 жыл бұрын

    Obrigada! Ajudou muito 👌 estava horas buscando como fazer funcionar a macro

  • @Exceljunction

    @Exceljunction

    Жыл бұрын

    Glad it helped

  • @google8544
    @google85443 жыл бұрын

    Could you help me please , i want to do the reverse , by dividing one big exel sheet into several exel sheets I want to divide the school students into multiple sections every section have a different time table for the school subjects

  • @elizajoystamaria7122
    @elizajoystamaria71224 жыл бұрын

    Thank you a lot. It helps me with my compilation of my grades.

  • @Exceljunction

    @Exceljunction

    4 жыл бұрын

    Thanks for appreciating. Do not forget to "subscribe" our channel for more such useful videos.

  • @2signus
    @2signus11 ай бұрын

    I had a code done that was not working for me and was because of the "\" at the end of the path, excellent video it went to the point and works, thank you!

  • @shadoweagle8184
    @shadoweagle81844 жыл бұрын

    Sheets names in the new combined sheet are different from the source although i put the correct path!! also the program gives me two empty sheets between each two work sheets!! Can you pls tell me how to fix that?

  • @MySunshineDay
    @MySunshineDay2 жыл бұрын

    Thanks it works, but when it combined the different workbooks it didnt save the name of each workbook in the tabs at the bottom for each workbook. Is there a fix for that? Its hundreds of workbooks without specific names so not easy to just go in and rename

  • @kikenhood7609
    @kikenhood76095 жыл бұрын

    You saved my life dude!! thanks a lot!

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    Glad that we could be of help

  • @Cazessus1
    @Cazessus14 жыл бұрын

    I Love yA!!! Thank you.... Worked great!

  • @eeneeism
    @eeneeism4 жыл бұрын

    Thanks Excel Function. I tried and received Compile Error: For Each Control Variable must be variant or object and it highlights "For Each". Do you know how to solve this? Thanks

  • @Cephasmoses

    @Cephasmoses

    3 жыл бұрын

    bit late but would be interested to see if you solved this, I found I had to open all the workbooks I wanted to combine which was a feat in its self :)

  • @michellereap1640
    @michellereap16405 жыл бұрын

    I so want this to work for me!! Sadly though, even when I follow each step exactly, I can't seem to get the code to run. I don't get any error code, it's just that nothing happens. I have all my files open (i've also tried with all the files closed), I open a new sheet and vba module, I copy the code, I copy my path exactly, I run the script and... nothing. Any advice? Is there anything different I should be doing to run this on a mac?

  • @michellereap1640

    @michellereap1640

    5 жыл бұрын

    Figured it out! For mac users who are also still confused: see this quote from microsoft's page on the dir function: " In Microsoft Windows, Dir supports the use of multiple character ( \* ) and single character ( ? ) wildcards to specify multiple files. On the Macintosh, these characters are treated as valid file name characters and can't be used as wildcards to specify multiple files. Since the Macintosh doesn't support the wildcards, use the file type to identify groups of files." So instead of Filename = Dir (Path & "*.xls") I just used Filename = Dir (Path) Also, macs use forward slashes in their path!

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    I'm sure this will be very helpful for Mac users. Thanks a lot.

  • @tshegophale2622
    @tshegophale26223 жыл бұрын

    Thanks for this, very useful. Only issue I have is that of the multiple files that are meant to have the same structure, some are broken on certain days (e.g. wrong/missing tab name, or any other misc issue) and I can't tell which one since it is over 50 files daily - how can I put an error handling to either 1) write a list of erroneous files, or 2) just loop over those with errors?

  • @Exceljunction

    @Exceljunction

    3 жыл бұрын

    Structure of the files doesn't matter here. All worksheets will be clubbed irrespective of the content.

  • @rahulgombhar7931

    @rahulgombhar7931

    2 жыл бұрын

    @@Exceljunction Pls help with VBA Code your site not working

  • @beehypekithanne7314
    @beehypekithanne73144 жыл бұрын

    Thanks for this video..Cannyou have a video of shared excel editing with multiple users but other user has no access for the other sheet or even cannot seen nor edit the other sheet which is not thier sheet..thanks

  • @shadoweagle8184
    @shadoweagle81844 жыл бұрын

    Also sheets in the combined workbook are in opesit order, from last to first from right to left!! Pls explain!!

  • @pedroelton7040
    @pedroelton70405 жыл бұрын

    Man, this is amazing... God bless you!!! hahaahah

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    Thank you ! Please do not forget to SUBSCRIBE the channel for more such useful videos.

  • @Abonilla921
    @Abonilla9215 жыл бұрын

    Thank you for this video! You should share more videos like this!

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    Thanks for appreciating. Please do subscribe our channel for more updates.

  • @harshprajapati9404
    @harshprajapati94045 жыл бұрын

    I have multiple file with same heading and I need that all file in single sheet then ?

  • @pradeepkumar2607
    @pradeepkumar26073 жыл бұрын

    Thanks for the clear slow patient presentation. Looking up for more topics in excel.

  • @Exceljunction

    @Exceljunction

    3 жыл бұрын

    Thanks for appreciating. Please do like and subscribe for timely updates.

  • @KavyaKavya-vi8do

    @KavyaKavya-vi8do

    11 ай бұрын

    Hey where can I get that code

  • @AhmedHegazy-uf1gp
    @AhmedHegazy-uf1gp4 жыл бұрын

    How do I update the name of the sheet inside the equation with the information of another cell that changes as this cell changes

  • @sunilgoyal7739
    @sunilgoyal773910 ай бұрын

    Not working Run-time error '1004': Copy Method of Worksheet file failed 😢

  • @LJExcel
    @LJExcel2 жыл бұрын

    Hi! I would lke to know if you could help me with this. I have a folder where I save a workbook for every month that goes by. I would like to create one main file where new Excel files are added automatically. By that I mean to make one big table in that main Spreadsheet, combining every other spreadsheet (please take into account that the number of spreadsheets to be added is infinite, and I would like this to be automated).

  • @voicesofwonderland
    @voicesofwonderland4 жыл бұрын

    Thank you for this. You made my day much better and saved me a lot of time!

  • @RADHAKRISHNA-fv1ig
    @RADHAKRISHNA-fv1ig3 жыл бұрын

    It worked, Great! Thank you!

  • @user-nm4ul6gr6o
    @user-nm4ul6gr6o4 жыл бұрын

    Thank you very much for this wonderful code and for this simplified and clear method.

  • @sureshbabumk6509
    @sureshbabumk65094 жыл бұрын

    Thanks! code worked perfectly after removing one compile error, Space in the line "Workbooks (Filename) .Close"

  • @ellamontejo8683
    @ellamontejo86835 жыл бұрын

    Nice!! Thanks a lot!

  • @Fifi-ky7le
    @Fifi-ky7le5 жыл бұрын

    How do you append the content of several worksheets from different workbooks? The workbooks share the same grandfather folder but are located in different subfolders within that grandfather folder.

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    You have to copy them manually to a single folder location before you execute the code. Or may be you can use a macro to get this done each time you want to merge files.

  • @angadunited
    @angadunited5 жыл бұрын

    Thanks mate!

  • @marviemanzo1495
    @marviemanzo14956 жыл бұрын

    Hi, what if for example I have 3 tabs for each excel files and I only want one tab to be copied to the master file? How to do it? By the way I am using excel 2016 version. Thanks in advance!

  • @keithsellers8562
    @keithsellers85626 жыл бұрын

    Excellent, thank you, got it to work, no problems. If I only want to include the first worksheet of each of those workbooks, is there one more line of code to add?

  • @Exceljunction

    @Exceljunction

    6 жыл бұрын

    +Keith Sellers Thanks for appreciating. Do not forget to "like" and "subscribe" the channel. Will look into your follow-up query and get back.

  • @habitante19
    @habitante193 жыл бұрын

    Hello! The code worked perfectly. I have a question: In all the documents I'm putting together I have one sheet called "Original", so when I combine all the files, I get Original, Original (1), Original (2), etc... Is there a way to exclude that particular sheet?

  • @aashikaraj72

    @aashikaraj72

    2 жыл бұрын

    Hey please can you send the code

  • @Vijaykumar_Namakkal

    @Vijaykumar_Namakkal

    2 жыл бұрын

    Can use an vba code to rename of sheet after completion of the copies sheet

  • @holidayhaven99
    @holidayhaven994 жыл бұрын

    Can I create data base from PDF files. I have many pdf files, in all pdf have same kind of details. Can I transfer all details in excel or ms-words in tabulated formate? Z suggest if you have any idea. And thanks for this video.

  • @edgarfelisberto
    @edgarfelisberto5 жыл бұрын

    I will be very grateful for the help. Taking advantage of the opportunity, the macro joins all the worksheets effectively, but duplicates them in the end. Is this proper?

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    No. There must be an issue. Please try again on a different set of files.

  • @kml1973

    @kml1973

    4 жыл бұрын

    @@Exceljunction Hello, This code worked for me the first time I ran it. However, the same issue happened with duplicates after I ran again the second time. Edgar, did you figure this out?

  • @sridharsivajisah8127
    @sridharsivajisah81274 жыл бұрын

    Amazing work, thanks

  • @joelcaldeira2277
    @joelcaldeira22773 жыл бұрын

    Will it combine my Files if the sheets within each file has the same name? Example File 1 has sheet 1, File 2 also has sheet 1

  • @mostafahassanen6301
    @mostafahassanen63015 ай бұрын

    Thanks a lot it worked, but i found every file is added twice. if i have 3 files in the folder i got a workbook with 6 sheets. what is the mistake? i am using excel 365

  • @jaswindergill1610
    @jaswindergill16107 жыл бұрын

    Does any changes made to any of file will be reflected on master sheet

  • @Exceljunction

    @Exceljunction

    7 жыл бұрын

    +Jaswinder Gill No, changes done after merging the workbooks won't reflect automatically. The code has to be re-run if any changes are made to the base files.

  • @asadkabir4253
    @asadkabir42534 жыл бұрын

    It really helps. very well explained

  • @mikee626
    @mikee6266 жыл бұрын

    Excellent tutorial. What would the code be if I only wish to copy from one particular worksheet ("data")? I have up to 6 workbooks all with identical worksheets and data layout. Thank you again.

  • @Exceljunction

    @Exceljunction

    6 жыл бұрын

    Please post your query on our forum for quick reply www.exceljunction.com/forum/

  • @sathishvm1
    @sathishvm13 жыл бұрын

    Hello HI, do we have options to restrict which sheets are only to be merged? for example, if i have 10 worksheets in one file, whereas i need only one worksheet from each file to be brought and merged in one workbook.

  • @Exceljunction

    @Exceljunction

    3 жыл бұрын

    Please refer to the link for merging one sheet from each workbook kzread.info/dash/bejne/q6t3mqOAnJCnp7g.html

  • @himanisachdeva5757
    @himanisachdeva5757 Жыл бұрын

    Thank you so much. One question, if we do any changes in one workbook, would it automatically be done in master file. like if it is saved in shared folder, and one person has made any changes in one worksheet, and the manager is only seeing the master one, so would it automatically be done in master one or not? thank you again.

  • @Exceljunction

    @Exceljunction

    Жыл бұрын

    No you will have to rerun the code

  • @javedaslam8274
    @javedaslam82745 жыл бұрын

    Does this work for microenabled worksheets ?

  • @estherndolo3890
    @estherndolo38903 жыл бұрын

    Thank you for this tutorial it was such a wonderful one and direct to the point.

  • @Exceljunction

    @Exceljunction

    3 жыл бұрын

    Thanks for appreciating. Do like and subscribe our channel for more such videos.

  • @abeerusman536
    @abeerusman5364 жыл бұрын

    Thank you! It worked.

  • @itrestech421
    @itrestech4215 жыл бұрын

    Is there a way to modify the code to only recognize and pull the first sheet only of the other workbooks? The workbooks I am trying to add have 3 sheets and only need to pull in sheet 1 of each workbook.

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    Hi Jeff, this should help you... kzread.info/dash/bejne/q6t3mqOAnJCnp7g.html

  • @peterphang4600
    @peterphang46003 жыл бұрын

    OMG! works like charm, save me lots of time! Thanks bro! =D

  • @Exceljunction

    @Exceljunction

    3 жыл бұрын

    Glad it helped. Don't forget to subscribe our channel for more such useful resources. :)

  • @ethinix.
    @ethinix.8 ай бұрын

    Excellent video. Very informative. Is it possible to combine them in to one sheet?

  • @AamirSaeedTajalli
    @AamirSaeedTajalli4 жыл бұрын

    Hello. Using VBA, i want to make a small scale accouting tool where i enter all payments and receipts on my master control sheet and in column C i also mention the account head from drop down list. What i want now is to add each entry on respective sheet on next empty row (As per account head name). I will add sheet manually for each of account head that i use. If account head chosed is "A" then this entry should go to sheet titled "A" If account head chosed is "B" then this entry should go to sheet titled "B" So it means the sheet name will ALWAYS be same as account head title/name. Any tips, hints or tricks? Please share.

  • @Exceljunction

    @Exceljunction

    4 жыл бұрын

    Join our Whatsapp group for quicker response on queries.

  • @junwang874
    @junwang8743 жыл бұрын

    Hi, There, Thank you for sharing!! My "Alt+F11" doesn't work. It only showed the virtual keyboard:) What could be the problem?

  • @Exceljunction

    @Exceljunction

    3 жыл бұрын

    Please check this link answers.microsoft.com/en-us/msoffice/forum/msoffice_excel-mso_win10-mso_2016/altf11-is-not-working-to-open-the-developer-tab-in/0a2079d9-b24e-4138-871e-780a9f02a91e

  • @raosahab8284
    @raosahab82846 жыл бұрын

    hey i m facing an issue in merging files as the sheet name are same in multiple files so it conflicts and the macro say that the same name of excel is already existing , can we have any command by that we change changes the sheets name. like it automatically continue the sheet naming e.g. if my sheets name are co-ordination sheet then it automattically convert these as co-ordination sheet(1), co-ordination sheet(2), co-ordination sheet(3) like this. for such case it working for 2 sheets only

  • @Exceljunction

    @Exceljunction

    6 жыл бұрын

    Please post your query on our forum for quick reply www.exceljunction.com/forum/

  • @rosemwenjeri1004
    @rosemwenjeri10042 жыл бұрын

    i have never been happier. This has been so helpful. Thankyou

  • @Exceljunction

    @Exceljunction

    Жыл бұрын

    I'm so glad!

  • @SuperAshraf1972
    @SuperAshraf19724 жыл бұрын

    Hi, i have an issue with pivot table which i creating from multiple excel files in folder due to the excel workbooks size, please help to create a pivot table form folder

  • @SumitKumar-dz9jk
    @SumitKumar-dz9jk5 жыл бұрын

    Sir Thank you! Today, I need your help to consolidate multiple workbooks into one workbook. Please advise the code.

  • @Exceljunction

    @Exceljunction

    5 жыл бұрын

    Sure. Link to the code is given in video description. Please revert if you need further assistance.

  • @musthagmohamed
    @musthagmohamed3 жыл бұрын

    Hi, Thank you very much for reading this comment. This tutorial is very very easy to understand and extremely helpful. I have a query and here is my situation. I have an excel file of size more than thirty MB and it can be accessed using the network and it keeps growing in size, every day. More than five users are actively using the file, on most of the day. Some of my users complain that when the file is opening and saving it is slow due to the network being slow. Hence, I need a solution for this. I have two solutions in my mind. Firstly, create a local file to each remote user and let them add their data and sync with the main file in the network when they close or click a button to update the main file. Secondly, add data to excel file in the network without fully opening the file. Do you have any suggestions? Thank you in advance and have a wonderful day.

  • @Exceljunction

    @Exceljunction

    3 жыл бұрын

    You may reach out to our telegram group and post your query there