+ Reply to Thread
Results 1 to 3 of 3

Is it possible to have a code to open 20+ wb / copy and paste into 1 ws of master wb?

  1. #1
    Forum Contributor
    Join Date
    08-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007, MS 365 (Windows 10 Pro 64-bit)
    Posts
    810

    Is it possible to have a code to open 20+ wb / copy and paste into 1 ws of master wb?

    Hello All,
    Is it posible to open 20+ workbook (wbs are stored in same folder and file name is difference such as xxx-xxxxxx-xx) and copy data in sheet1 of each wb then save into 1 worksheet of a master WB?



    Regards,
    tt3

  2. #2
    Registered User
    Join Date
    09-04-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Is it possible to have a code to open 20+ wb / copy and paste into 1 ws of master wb?

    If they all are
    1) The same kind of excel file
    2) Same folder with no excess files in it
    3) All have the same sheet names
    4) The records are organised neatly

    You can just write something like this

    Please Login or Register  to view this content.
    Last edited by poorcloud; 01-09-2013 at 02:47 AM.

  3. #3
    Forum Contributor
    Join Date
    08-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2007, MS 365 (Windows 10 Pro 64-bit)
    Posts
    810

    Re: Is it possible to have a code to open 20+ wb / copy and paste into 1 ws of master wb?

    Hello PoorCloud,

    1) The same kind of excel file Yes
    2) Same folder with no excess files in it Yes
    3) All have the same sheet names Yes
    4) The records are organised neatly Yes


    _Variable not defind => Set thswbk = ThisWorkbook
    _I was asking the folder and the Macro deleted by itselft after I enter the folder. (C:\Testing)

    Can you take a look and help me out.

    Regards,
    tt3

+ 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