+ Reply to Thread
Results 1 to 1 of 1

Copy sheets with the same name side-by-side

  1. #1
    Forum Contributor
    Join Date
    05-24-2020
    Location
    London
    MS-Off Ver
    Office 365 pro
    Posts
    177

    Copy sheets with the same name side-by-side

    Hi everybody,

    I need a VBA that does the following:
    1.) it lets me choose the folder where the workbooks are located.
    2.) it lets me select the Workbooks that are to be merged
    3.) it merges all the workbooks by copying all the sheets with the same names in the selected workbooks,
    4.) Copy all the sheets with the same names side by side, into a new worksheet
    5.) the Sheets, which do not have the same name, are copied unchanged into the new Workbook
    6.) in the new Workbook, the vba deletes all empty columns in all Sheets
    7.) finally it lets me choose the place where to save the new marked sheet

    The following code does most of it, but it does not copy the whole content of the sheets with the same names, only 2 columns.
    I would be grateful if maybe someone could look at the code and correct this error, so that in the sheets with the same names all contents are copied side by side.
    I have attached 2 sheets to work with the code.

    Thanks for the help in advance.

    Here is the code:
    Please Login or Register  to view this content.
    Thanks for the help
    Attached Files Attached Files

+ 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. Copy content from sheets from different workbooks side by side
    By CoSinus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-29-2020, 07:12 AM
  2. VBA to copy paste chart side by side
    By hpo2509 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-19-2017, 07:11 AM
  3. Align data in multiple sheets in a mastersheet side by side
    By sujit_sarkar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-24-2015, 02:40 AM
  4. VBA to copy data from multiple sheets side-by-side into one sheet matching date
    By MHCapcog in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 04-02-2013, 06:11 PM
  5. [SOLVED] 'Compare side by side' for work sheets
    By Dr Sanjay in forum Excel General
    Replies: 2
    Last Post: 05-02-2006, 06:20 AM
  6. [SOLVED] Excel 2003 - how to arrange sheets side by side?
    By Rich in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-15-2006, 05:55 PM
  7. Compare Side by Side with 3 simulatanous sheets scrolling
    By John Louis in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-11-2005, 08:05 AM

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