+ Reply to Thread
Results 1 to 6 of 6

Combining all tabs into one tab - problem with code

  1. #1
    Forum Contributor
    Join Date
    11-01-2016
    Location
    Prague
    MS-Off Ver
    2013
    Posts
    121

    Combining all tabs into one tab - problem with code

    Hi Everyone,

    I am making a code for combining my 8-10 tabs into one tab which is called "Master"

    Until now, below code is working. But its working only one time. Creating a tab called "Master" taking the all other tabs with column names etc. When you add something to your original columns and try to run the macro again, it's giving an error and saying there is already a "Master" tab.

    So, my question is how can I fix this. I need to edit the code and make the update on the Master tab itself. Basically, it should have to overwrite the previous version or delete and make an another combine data.

    I would be appreciate if someone can help me on this.

    Thank you very much
    Orhan

    PS: Please find attached sample excel as well.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Combining all tabs into one tab - problem with code

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    11-01-2016
    Location
    Prague
    MS-Off Ver
    2013
    Posts
    121

    Re: Combining all tabs into one tab - problem with code

    It worked ! Thank you so much

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,239

    Re: Combining all tabs into one tab - problem with code

    ........deleted......................
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,457

    Re: Combining all tabs into one tab - problem with code

    Perhaps:

    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Combining all tabs into one tab - problem with code

    You're welcome. Glad to help out and thanks for the feedback and reps.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Combining tabs into one tab
    By cheggers in forum Excel General
    Replies: 1
    Last Post: 09-06-2016, 08:16 AM
  2. [SOLVED] How can I automatically insert this source code into new tabs or all Tabs?
    By Chad Bateman in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-01-2015, 06:42 PM
  3. Copy Tabs from different excel file by using code name of the tabs
    By varun.kalra1988 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-15-2014, 02:03 PM
  4. combining multiple tabs into one
    By jasonjhc in forum Excel General
    Replies: 3
    Last Post: 11-21-2013, 11:29 AM
  5. Combining or grouping tabs into one tab? Possible?
    By dmoore702 in forum Excel General
    Replies: 3
    Last Post: 12-02-2012, 12:46 PM
  6. Combining tabs
    By jejeb in forum Excel General
    Replies: 6
    Last Post: 03-15-2010, 02:02 PM
  7. [SOLVED] combining spreadsheet tabs
    By childothe1980s in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-11-2006, 07:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1