+ Reply to Thread
Results 1 to 2 of 2

Loop through workbooks and copy just the first sheet only to master workbook.

  1. #1
    Forum Contributor
    Join Date
    03-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    491

    Loop through workbooks and copy just the first sheet only to master workbook.

    Hello,

    Is there a template to achieve what I want to do in the title line?

    I want to input my the folder from my desktop which holds the files I'd be looking to copy from and paste the 1st sheet of each workbook in that folder to a workbook I've saved else where.

    I've searched the forum but there are a dozen of confusin solutions.

    Any help would be appreciated.

  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: Loop through workbooks and copy just the first sheet only to master workbook.

    Can you clarify your intention?

    1) Import the first sheet from all the file in a single folder
    2a) Imported sheets are placed into a workbook as sheets of their own?

    2b) Imported sheets are placed into the same sheet with data stacked below each other.
    3) Are there headers in each file to skip?
    _________________
    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!)

+ 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. Do Until Loop - Transferring data from several workbooks to a Master workbook
    By GalsenPAP in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-10-2013, 01:00 PM
  2. Replies: 2
    Last Post: 09-11-2012, 09:42 AM
  3. [SOLVED] Vba excel 2003 - copy & paste from 'master copy' workbook to 2 other workbooks
    By AliiShariff in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-24-2012, 12:58 PM
  4. loop through workbooks in folder copy "jan" sheet into new workbook
    By Sirishgreen in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-27-2008, 06:00 AM
  5. Loop through workbooks copy sheet to master
    By Sirishgreen in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 05-15-2008, 09:30 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