+ Reply to Thread
Results 1 to 8 of 8

Append files from different folders

  1. #1
    Forum Contributor
    Join Date
    11-05-2014
    Location
    Charlotte
    MS-Off Ver
    2013
    Posts
    181

    Append files from different folders

    Hey everyone,

    I have two folders: 2015 and 2016

    In each folder there are 40 files, one file for each customer.

    Is there a way I could employ a macro to select the matching files and append them? For example, open "Aveeno 2015" and append it to the "Aveeno 2016" file, open the "Loreal 2015" and append it to "Loreal 2016", etc.?

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,485

    Re: Append files from different folders

    Hello, Append means to add to the end, can you describe what you are asking to do?

  3. #3
    Forum Contributor
    Join Date
    11-05-2014
    Location
    Charlotte
    MS-Off Ver
    2013
    Posts
    181

    Re: Append files from different folders

    Sure. Ideally, I would like to open a customer file in the folder "2015", say "Loreal", and append it (add to the end) of the Loreal file that is in the 2016 folder.

    The end result is that the "Loreal" file in the 2016 folder would have 2015 and 2016 data in it.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,485

    Re: Append files from different folders

    Got it,
    What are the ranges we are dealing with?

  5. #5
    Forum Contributor
    Join Date
    11-05-2014
    Location
    Charlotte
    MS-Off Ver
    2013
    Posts
    181

    Re: Append files from different folders

    Columns A - IL. The row number is variable

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,485

    Re: Append files from different folders

    That may take some time, hopefully somebody will tackle this for you

  7. #7
    Forum Contributor
    Join Date
    11-05-2014
    Location
    Charlotte
    MS-Off Ver
    2013
    Posts
    181

    Re: Append files from different folders

    thanks dave

  8. #8
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Append files from different folders

    Assumes all data in Worksheets(1) and all files in both folders have identical names except for the year...
    Please Login or Register  to view this content.

+ 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. Replies: 2
    Last Post: 04-11-2015, 07:20 AM
  2. Create folders and save text files to these folders
    By bloomingcarrot in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-03-2014, 08:14 PM
  3. Use Excel VBA to Copy multiple files from different source folders to different folders
    By mm1234mail in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-12-2014, 01:17 PM
  4. Replies: 0
    Last Post: 05-26-2014, 07:47 PM
  5. Replies: 1
    Last Post: 09-12-2013, 09:23 PM
  6. Recursively Count Files in Folders and Sub-Folders
    By cdeshaz in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-01-2013, 01:15 PM
  7. Create folders and move and copy files into that folders
    By vijaybharthi in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-31-2010, 04:01 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