+ Reply to Thread
Results 1 to 2 of 2

Automating a manual copy paste from daily files to a consolidated file

  1. #1
    Registered User
    Join Date
    08-20-2016
    Location
    Mumbai
    MS-Off Ver
    Excel 2010
    Posts
    1

    Automating a manual copy paste from daily files to a consolidated file

    Hi Everyone,

    I currently have the data for revenue breakup by products in different excel files for each day.


    Excel file 1.Contains revenue details for day 1
    Excel file 2.Contains revenue details for day 2....So on for 365 daily files


    I want to create one consolidated excel file that can automatically copy the data from all the daily files onto one excel sheet. I though of the below but there were some constraints that came by my way. Please suggest if there is any way to overcome these.

    1.) Option 1.) An edit link - However I have 365 daily files so it would not be feasible. In addition it would be cumbersome to manually link 365 files
    2.) Option 2) Macro/VBA that automatically copies from daily file and paste the data onto consolidated file. I tried it but it threw up an error as it needed the files to be open and I cant have 365 files open at same time.(Is there a code which can automatically open the required file, copy paste, then close the file, then automatically open next file, copy paste, then close ?)

    Can anyone suggest a solution (A formula or a code or any other way?).

    Attached some excel sheet daily and consolidated.

    Many Thanks.

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

    Re: Automating a manual copy paste from daily files to a consolidated file

    Look At this
    https://youtu.be/6XsvI9i2z7s

+ 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. VBA to open 2 JPEG files in MSPaint and copy File 1 and paste in File 2.
    By Rerock in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2016, 01:31 PM
  2. Macro to copy column from multiple files to paste to one file
    By yonidf99 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2015, 12:26 PM
  3. [SOLVED] Copy same range in many excel files and paste into a main file
    By dualaudio454252 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-15-2014, 05:25 PM
  4. Replies: 4
    Last Post: 02-12-2014, 06:38 PM
  5. Replies: 0
    Last Post: 04-13-2013, 10:45 AM
  6. Copy data from other files and paste in current file ----really need assistance
    By aetedford in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-02-2013, 05:37 PM
  7. [SOLVED] Copy from multiple files and paste to one file vba 2010
    By redhawk87 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-29-2012, 04:40 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