+ Reply to Thread
Results 1 to 6 of 6

Consolidating data from different workbooks

  1. #1
    Registered User
    Join Date
    11-18-2008
    Location
    Pune
    Posts
    11

    Consolidating data from different workbooks

    How can I consolidate data from n no. of workbooks (with similar format) into one worksheet? There can be any no of workbook present at any given point of time and the macro should be able to count the number of files available in the folder and run loop accordingly.

    I was trying the following logic but it didnt work.
    Please Login or Register  to view this content.
    Last edited by Leith Ross; 11-18-2008 at 01:33 AM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello abhijit.pendharkar,

    Welcome to the Forum!
    To make your posts easier to read and preserve your formatting, please wrap your code. I did it for you this time. Here is how you can do it next time.

    How to wrap your Code
    On the Message window Toolbar you will see the # icon. This will automatically wrap the text you selected with the proper Code tags to create a Code Window in your post. You can do this manually by placing the tag [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code] at the end.

    As a new member please take so time to familiarize yourself with the Do's and Don'ts here in the Forum, just click on the link below...

    Forum Rules

    Sincerely,
    Leith Ross

  3. #3
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    query

    Hi
    do you want J2 of each file to be listed or all filled cells of day1feedback sheet to be copied?
    Ravi

  4. #4
    Registered User
    Join Date
    11-18-2008
    Location
    Pune
    Posts
    11

    Consolidating data

    all filled cells have to be copied. the above code was a trail code.

  5. #5
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    macro

    Hi
    Save this file in the folder where from you want the data copied. run the macro
    Ravi
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    11-18-2008
    Location
    Pune
    Posts
    11
    working fine, thanks a ton!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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