+ Reply to Thread
Results 1 to 6 of 6

How to copy existing worksheet instead of moving values

  1. #1
    Registered User
    Join Date
    11-24-2007
    Location
    Florida
    MS-Off Ver
    Various
    Posts
    64

    How to copy existing worksheet instead of moving values

    Hello,

    I have a simple macro:

    Please Login or Register  to view this content.
    It works correctly, but can someone tell me how I can modify this to copy sheet1 (including formatting and pictures) to the output created sheets instead of just moving the values?

    Any help appreciated

  2. #2
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: How to copy existing worksheet instead of moving values

    Hi,

    See if this helps

    Please Login or Register  to view this content.
    Thanks

  3. #3
    Registered User
    Join Date
    11-24-2007
    Location
    Florida
    MS-Off Ver
    Various
    Posts
    64

    Re: How to copy existing worksheet instead of moving values

    Thank you! That is almost perfect.

    The only thing that wasn't perserved was the row and column sizes... any ideas on that?

  4. #4
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: How to copy existing worksheet instead of moving values

    Another alternative:

    Please Login or Register  to view this content.
    Last edited by berlan; 12-25-2013 at 04:19 PM. Reason: typo

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Re: How to copy existing worksheet instead of moving values

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    11-24-2007
    Location
    Florida
    MS-Off Ver
    Various
    Posts
    64

    Re: How to copy existing worksheet instead of moving values

    Excellent.

    Now I see what I was doing wrong. I was trying to set ws2 and copy in the same statement.

    Thank you all for the help and Happy Holidays!

+ 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. Replies: 11
    Last Post: 11-04-2013, 04:32 PM
  2. Replies: 3
    Last Post: 10-14-2013, 03:06 PM
  3. [SOLVED] Copy worksheet from one WB to another, overwrite existing worksheet with same CodeName
    By Renns in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 08-31-2012, 10:30 AM
  4. Macro to create new worksheet with values from existing worksheet
    By SamBam in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-18-2011, 05:33 AM
  5. Copy an existing worksheet and carry totals to a master worksheet
    By adore_r in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2008, 12:02 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