Results 1 to 4 of 4

Thread: VBA - Merge multiple files to one sheet

  1. #1
    New Member
    Join Date
    Sep 2017
    Posts
    20
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default VBA - Merge multiple files to one sheet

    Hi everyone, thanks for the help on previous questions and the continued support.

    I have written some VBA to export some invoice to load in to sage but now need to combine the days exports in to one sheet to upload.

    Each export contains a sheet with a header row (A1:AI1) then a list of lines to invoice. Ideally what I need to do is
    • place all files in a folder that are to be combined
    • open a template file that contains the headers
    • open each of files and combine the data from sheet 1, row 2 in to the template, on the one sheet.


    can anyone help with this?

    Cheers

  2. #2
    Board Regular James006's Avatar
    Join Date
    Apr 2009
    Posts
    3,587
    Post Thanks / Like
    Mentioned
    19 Post(s)
    Tagged
    1 Thread(s)

    Default Re: VBA - Merge multiple files to one sheet

    Hi,

    With many different workbooks ... you should take a look at Power Query

    https://www.myexcelonline.com/blog/c...g-power-query/

    Hope this will help

  3. #3
    New Member
    Join Date
    Sep 2017
    Posts
    20
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: VBA - Merge multiple files to one sheet

    Works perfect James Thanks

  4. #4
    Board Regular James006's Avatar
    Join Date
    Apr 2009
    Posts
    3,587
    Post Thanks / Like
    Mentioned
    19 Post(s)
    Tagged
    1 Thread(s)

    Default Re: VBA - Merge multiple files to one sheet

    You are welcome

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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