+ Reply to Thread
Results 1 to 4 of 4

Copy Data from Another Workbook

  1. #1
    Forum Contributor
    Join Date
    09-06-2012
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    225

    Copy Data from Another Workbook

    I need help creating code that will copy all data in a worksheet of another workbook and paste into the active worksheet.

    Any ideas on how to get started with this one?

    Any assistance would be much appreciated.

    Maybe something along the lines of:
    Please Login or Register  to view this content.
    Last edited by Gard5096; 12-28-2012 at 04:02 PM.

  2. #2
    Forum Contributor
    Join Date
    10-19-2012
    Location
    Omaha, Nebraska USA
    MS-Off Ver
    Excel 2010
    Posts
    249

    Re: Copy Data from Another Workbook

    Hi Gard,

    If I understand what you are trying to do, you don't need a macro to copy the contents of one sheet to another sheet within a workbook or between workbooks. To copy an entire sheet and paste it into another:

    1. Select all cells of the sheet you wish to copy by selecting the square that is above row 1 and left of column A.
    2. Select "Copy" from the Edit pulldown.
    3. Go to the worksheet you wish to copy to, select Cell "A1".
    4. Select "Paste" from the Edit pulldown.

    If you want a macro to do it, I have some code below. It is cumbersome since you have to put the name of the workbook and sheet you are copying from into the code each time you wish to copy, but it gives you the code to do it.

    Please Login or Register  to view this content.

    Thanks,

    Daniel

  3. #3
    Forum Contributor
    Join Date
    09-22-2012
    Location
    Berkeley, CA
    MS-Off Ver
    Excel 2010
    Posts
    112

    Re: Copy Data from Another Workbook

    Ron De Bruin has a pretty good add in that does this kind of thing. You might be able to use it for your needs

    http://www.rondebruin.nl/merge.htm
    ------------------------
    W2

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy Data from Another Workbook

    Another:

    Please Login or Register  to view this content.

+ 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