+ Reply to Thread
Results 1 to 4 of 4

Macro - Copy 3 cells from all workbooks in a folder

  1. #1
    Registered User
    Join Date
    06-22-2010
    Location
    Toon Town
    MS-Off Ver
    Excel 2003
    Posts
    12

    Macro - Copy 3 cells from all workbooks in a folder

    I have a folder that can contain multiple .xls files with different names but the exact same cell layout and sheet name. I need a macro to copy 3 of the fields from all files in that folder and paste them to the first open row in a different workbook.
    Last edited by misterzr; 06-24-2010 at 02:37 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Macro - Copy 3 cells from all workbooks in a folder

    'WORKBOOKS TO 1 SHEET
    I have a macro that may be pretty close to "ready to use" for collecting data all files in a specific folder.The parts of the code that need to be edited are colored to draw your attention.
    Last edited by JBeaucaire; 06-24-2010 at 09:43 AM.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    06-22-2010
    Location
    Toon Town
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Macro - Copy 3 cells from all workbooks in a folder

    Thanks Jerry, with some modification this worked perfect

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Macro - Copy 3 cells from all workbooks in a folder

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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