+ Reply to Thread
Results 1 to 4 of 4

button to copy a sheet to a new sheet

  1. #1
    Registered User
    Join Date
    02-03-2014
    Location
    Germany
    MS-Off Ver
    Excel 2013
    Posts
    7

    button to copy a sheet to a new sheet

    Hi, I have a sheet where I can import a csv file. then i do calculations, this is on a monthly basis.
    Now I want to have a button that will copy the whole sheet (just the values in this sheet) to a new sheet for storing purpose.
    So that my original sheet wont get changed and is ready for the next month. by importing the next csv file all values from before get changed.

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: button to copy a sheet to a new sheet

    Try this code? Run it on the sheet that you want to be copied.

    Please Login or Register  to view this content.
    多么想要告诉你 我好喜欢你

  3. #3
    Registered User
    Join Date
    02-03-2014
    Location
    Germany
    MS-Off Ver
    Excel 2013
    Posts
    7

    Re: button to copy a sheet to a new sheet

    Thank You, so far so good. would be nice if the copied sheet would keep the format of the original (color, font, column size, etc).
    Also if it could get copied to the end, so that it is the last sheet in the workbook. I guess I made the task more special than it is by saying just the values. Basicly it should be a 1:1 copy of the original file, except that the original file has a link to data and the copy has the values..

  4. #4
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: button to copy a sheet to a new sheet

    Then maybe:

    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)

Similar Threads

  1. Macro button to copy data from one sheet to another sheet's next available column
    By Alice21 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 10-23-2013, 08:02 AM
  2. Replies: 0
    Last Post: 03-13-2013, 03:14 PM
  3. Replies: 11
    Last Post: 10-14-2012, 01:03 PM
  4. Don't copy Add Sheet button to new sheet?
    By leaning in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-13-2011, 06:04 PM
  5. Button to copy sheet, rename sheet sequencially.
    By foxgguy2005 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-17-2005, 09:05 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