+ Reply to Thread
Results 1 to 5 of 5

Merge multiple excel files, while keeping the Header Row from first File only

  1. #1
    Registered User
    Join Date
    11-17-2017
    Location
    POLAND
    MS-Off Ver
    2013
    Posts
    25

    Merge multiple excel files, while keeping the Header Row from first File only

    Hi,

    any idea how to improve my below code to keep the header row from the first file only?

    For now it's copying data from selected files without first header row:

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,002

    Re: Merge multiple excel files, while keeping the Header Row from first File only

    Please Login or Register  to view this content.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    11-17-2017
    Location
    POLAND
    MS-Off Ver
    2013
    Posts
    25

    Re: Merge multiple excel files, while keeping the Header Row from first File only

    Thanks for your help!

    The code is copying proper data with only one header from selected files but it starts from the second row (first row is empty).

    Do you know what should be change?

  4. #4
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,002

    Re: Merge multiple excel files, while keeping the Header Row from first File only

    Change

    Please Login or Register  to view this content.
    to

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-17-2017
    Location
    POLAND
    MS-Off Ver
    2013
    Posts
    25

    Re: Merge multiple excel files, while keeping the Header Row from first File only

    Thanks Bernie! Now it's working perfectly! :-)

+ 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. Merge multiple excel files into single file as different sheets
    By saidineshbabu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-18-2015, 12:38 AM
  2. Merge multiple excel files into one file and separate datas into 2 sheets
    By 2013boris in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-14-2014, 05:57 AM
  3. [SOLVED] Macro to merge multiple excel files with same tab name into one file
    By Ardiko in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-16-2013, 04:53 PM
  4. [SOLVED] How to merge multiple excel files(xls) in one folder into a new xls file.
    By Hayk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2013, 11:48 AM
  5. merge specific cell from multiple files into 1 file
    By pow828 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-18-2011, 12:35 PM
  6. How to merge multiple Excel Files into One File
    By janeshh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2009, 08:09 AM
  7. How do I merge multiple xls files into one file?
    By Gianni in forum Excel General
    Replies: 3
    Last Post: 06-14-2005, 10: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