+ Reply to Thread
Results 1 to 3 of 3

How to copy a sheet from another workbook

  1. #1
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    How to copy a sheet from another workbook

    The question “How do I copy a page from one workbook to another” comes up just about daily.

    Attached is a “generic” spreadsheet that can be used in three ways:

    1. You can make a copy of this workbook and “build” your report around it.

    2. You can copy the code into an existing workbook. In the Initialize Variables section of the code, there are a lot of assignments that look up the various variables from the named ranges on the control panel sheet. Replace these statements with hard-coded paths and names.

    3. You can look at the code to see how things are done and write your own VBA from the example.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  2. #2
    Registered User
    Join Date
    11-26-2016
    Location
    USA
    MS-Off Ver
    2010
    Posts
    1

    Re: How to copy a sheet from another workbook

    It was a good step by step method on copying a sheet from another work book. I will follow your method if necessary.
    Can I copy More than one pages together from one workbook to another? Will this method work for it?
    ________________
    writer @ http://essayservices.org

  3. #3
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: How to copy a sheet from another workbook

    I modified the above so the workbook is a little "dirty" in that it has left over bits and pieces that now do nothing from the prior version.

    You will still fill in the copy from information in cells B3 & B4.

    Fill in the page information in the table in columns F:L. The same rules apply for example if you leave the copy end row blank, it will find the last row in the copy from sheet. In this case, I copied from the same sheet with different parameters to different paste sheets. You can enter in as many sheets as you want.
    Attached Files Attached Files

+ 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. [SOLVED] Copy sheet from another workbook based on ComboBox names of the Workbook and sheet
    By igormigor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-01-2016, 10:07 AM
  2. [SOLVED] macro to copy rows from a sheet in one workbook to a sheet in a different workbook...
    By fredderf81 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-16-2013, 01:36 PM
  3. Simple Open Workbook, Copy Sheet, Paste In New Workbook Question
    By alulla in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2013, 02:10 PM
  4. Replies: 0
    Last Post: 04-26-2013, 03:40 AM
  5. [SOLVED] Copy Values From Each Workbook in Folder to a Single Sheet in New Workbook +Workbook names
    By Arsham24 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-21-2012, 07:42 PM
  6. [SOLVED] copy active sheet, create new workbook, name new workbook based on cell reference
    By jm0392 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-20-2012, 07:12 PM

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