+ Reply to Thread
Results 1 to 9 of 9

Button to copy range to new worksheet

  1. #1
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Devon, England
    MS-Off Ver
    Excel 2003
    Posts
    128

    Button to copy range to new worksheet

    I have been trying (without success) to add a control button, that when clicked will copy a specified range eg A1 to F6, to a new worksheet. I will then delete the original data and enter new, then when i click the button again it will copy the second set of data to the new worksheet adding it on to the first data. Any help appreciated.

  2. #2
    Registered User
    Join Date
    11-14-2012
    Location
    Lebanon, Oregon
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Button to copy range to new worksheet

    Try this.
    I can't test it right now, but it should help.
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Devon, England
    MS-Off Ver
    Excel 2003
    Posts
    128

    Re: Button to copy range to new worksheet

    Thanks for quick reply, but how do I use this. Do I attach the code to a button or is this a macro?

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Button to copy range to new worksheet

    Hi

    Give a try to this. Code copy your data to next sheet. We can add if you want some lines to delete your data in first sheet.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Devon, England
    MS-Off Ver
    Excel 2003
    Posts
    128

    Re: Button to copy range to new worksheet

    Hi, thanks, that seems to work as I wanted. If you can add extra lines to delete original data that would be great.
    Thanks again

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Button to copy range to new worksheet

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    05-01-2013
    Location
    Devon, England
    MS-Off Ver
    Excel 2003
    Posts
    128

    Re: Button to copy range to new worksheet

    Thank you, thats great, just one thing, is it ok to delete sheet 3?

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Button to copy range to new worksheet

    But there is no sheet 3 in our example..!!

  9. #9
    Registered User
    Join Date
    08-28-2013
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2010, 2013
    Posts
    69

    Re: Button to copy range to new worksheet

    Fotis1991, I like the code provided and want to implement something similar on a worksheet of mine. Does the code provided retain the original formatting on the first sheet being copied from?

    Thanks so much!

    Jan

+ 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. Creating a copy button to copy range of cells to a different sheet
    By 5degrees in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-15-2013, 12:21 PM
  2. Macro Button to copy data from one worksheet to second worksheet with criteria
    By vortex1fire in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-05-2013, 06:24 PM
  3. button to copy worksheet with formulas referencing previous worksheet
    By Alexelius in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 07-28-2011, 09:40 AM
  4. copy a command button to new worksheet
    By elaine in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-22-2006, 11:40 AM
  5. [SOLVED] how to copy option button from one worksheet to another
    By sam in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-18-2006, 09:40 AM

Tags for this Thread

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