+ Reply to Thread
Results 1 to 11 of 11

Open Multiple Workbooks Copy Sheet1 To Master Workbook

  1. #1
    Forum Contributor
    Join Date
    11-28-2005
    Location
    Dover, England
    Posts
    172

    Open Multiple Workbooks Copy Sheet1 To Master Workbook

    I have been looking, without success, for some code that will open a large number of workbooks copy sheet1 and paste to my master workbook adding it as a new sheet (sheet2, sheet3 etc). Many thanks

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Open Multiple Workbooks Copy Sheet1 To Master Workbook

    Are they all in the same folder? If so, you can just run the directory
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,528

    Re: Open Multiple Workbooks Copy Sheet1 To Master Workbook

    If they are in one folder, you could try this.
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    11-28-2005
    Location
    Dover, England
    Posts
    172
    Quote Originally Posted by xladept View Post
    Are they all in the same folder? If so, you can just run the directory
    Yes they are all in the same folder but I don't understand what you are saying by run the directory

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Open Multiple Workbooks Copy Sheet1 To Master Workbook

    I was talking about what Jolivanes has just posted

  6. #6
    Forum Contributor
    Join Date
    11-28-2005
    Location
    Dover, England
    Posts
    172

    Re: Open Multiple Workbooks Copy Sheet1 To Master Workbook

    I am sorry to say this hasn't worked and the sheets aren't copying across however, it may because I said it was named sheet1 that needed copying but in fact the first sheet in each of the workbooks is named "Support Worker". Can someone advise the line of code that I need to change so this does work. Thanks

  7. #7
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Open Multiple Workbooks Copy Sheet1 To Master Workbook

    If you've attended to the path, then

    Please Login or Register  to view this content.
    ought to do it

  8. #8
    Forum Contributor
    Join Date
    11-28-2005
    Location
    Dover, England
    Posts
    172

    Re: Open Multiple Workbooks Copy Sheet1 To Master Workbook

    Oh xladept, I thank you for the response but you've now confused me again with "attended to the path", can you advise me on that as well? Thanks

  9. #9
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Open Multiple Workbooks Copy Sheet1 To Master Workbook

    Please Login or Register  to view this content.
    If you have one of the books from the correct folder active, you could write:

    Please Login or Register  to view this content.

  10. #10
    Forum Contributor
    Join Date
    11-28-2005
    Location
    Dover, England
    Posts
    172

    Re: Open Multiple Workbooks Copy Sheet1 To Master Workbook

    Xladept - thanks for the guidance- this is now working fine

  11. #11
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Open Multiple Workbooks Copy Sheet1 To Master Workbook

    You're welcome

+ 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. Copy data from multiple workbooks into one master workbook
    By hellohello1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-24-2014, 04:28 AM
  2. Replies: 1
    Last Post: 11-12-2013, 09:23 AM
  3. Copy Sheets from multiple workbooks and add them to master workbook
    By tjkain in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-30-2013, 10:15 AM
  4. Copy Data from multiple workbooks to a master Workbook
    By zeeez in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-04-2012, 01:45 PM
  5. Copy Tab from multible open workbooks into 1 Master workbook
    By cooket4 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-22-2012, 11:24 AM
  6. Replies: 5
    Last Post: 03-05-2012, 09:31 AM
  7. Replies: 24
    Last Post: 02-17-2012, 11:30 AM
  8. copy paste from multiple workbooks to master workbook
    By ravinder_tigh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-18-2009, 02:29 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