+ Reply to Thread
Results 1 to 12 of 12

what code to copy from one sheet to another with values only

  1. #1
    Registered User
    Join Date
    01-22-2014
    Location
    Potosi, MO
    MS-Off Ver
    Excel 2013
    Posts
    64

    what code to copy from one sheet to another with values only

    I have the below line of code. What can I add to it, to make it only copy values, not formulas?

    thanks

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor ANDREAAS's Avatar
    Join Date
    05-06-2013
    Location
    Port Elizabeth, South Africa
    MS-Off Ver
    Excel 2007 / 2010
    Posts
    368

    Re: what code to copy from one sheet to another with values only

    [code selection.pastespecial paste:=xlpastevalues, operation:=xlnone, skipblanks _
    :=false, transpose:=false
    application.cutcopymode = false]Please Login or Register to view this content.[/code]

    hope this helps.....

  3. #3
    Forum Contributor ANDREAAS's Avatar
    Join Date
    05-06-2013
    Location
    Port Elizabeth, South Africa
    MS-Off Ver
    Excel 2007 / 2010
    Posts
    368

    Re: what code to copy from one sheet to another with values only

    oops
    i was trying to do this.....

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    01-22-2014
    Location
    Potosi, MO
    MS-Off Ver
    Excel 2013
    Posts
    64

    Re: what code to copy from one sheet to another with values only

    How exactly should it go? I put that code under my initial code, and it copyed over, but then gave an error.

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

    Re: what code to copy from one sheet to another with values only

    Another:

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    01-22-2014
    Location
    Potosi, MO
    MS-Off Ver
    Excel 2013
    Posts
    64

    Re: what code to copy from one sheet to another with values only

    Im sorry, I also need format. Value and Format. I didn't think about that part

  7. #7
    Forum Contributor ANDREAAS's Avatar
    Join Date
    05-06-2013
    Location
    Port Elizabeth, South Africa
    MS-Off Ver
    Excel 2007 / 2010
    Posts
    368

    Re: what code to copy from one sheet to another with values only

    Please Login or Register  to view this content.
    hope this helps

  8. #8
    Forum Contributor ANDREAAS's Avatar
    Join Date
    05-06-2013
    Location
    Port Elizabeth, South Africa
    MS-Off Ver
    Excel 2007 / 2010
    Posts
    368

    Re: what code to copy from one sheet to another with values only

    thanks John

    feltlike the blind leading the blind there for a second

    i'm also a vba novice - too eager to help with my limited knowledge!

  9. #9
    Registered User
    Join Date
    01-22-2014
    Location
    Potosi, MO
    MS-Off Ver
    Excel 2013
    Posts
    64

    Re: what code to copy from one sheet to another with values only

    How do I add format with the value?

  10. #10
    Registered User
    Join Date
    01-22-2014
    Location
    Potosi, MO
    MS-Off Ver
    Excel 2013
    Posts
    64

    Re: what code to copy from one sheet to another with values only

    This is actually my code.

    Please Login or Register  to view this content.
    I just want to change the part

    Please Login or Register  to view this content.
    to only copy the value and format. So as you can see, its pulling the date and making it the new tab name also. Im sorry that I was not very clear before.

  11. #11
    Registered User
    Join Date
    01-22-2014
    Location
    Potosi, MO
    MS-Off Ver
    Excel 2013
    Posts
    64

    Re: what code to copy from one sheet to another with values only

    Bump bump...

  12. #12
    Registered User
    Join Date
    01-22-2014
    Location
    Potosi, MO
    MS-Off Ver
    Excel 2013
    Posts
    64

    Re: what code to copy from one sheet to another with values only

    anyone know?

+ 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] VBA code to copy cell values to the next blank row in another sheet (all the same row)
    By rarias in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2013, 03:08 AM
  2. Code to write formula in 2 cells, copy, paste values, repeat next row until end of sheet
    By Oly Steel Man in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-14-2013, 11:13 AM
  3. [SOLVED] Looking for vba code that will search sheet for a value on a row and copy other values.
    By Justin25150 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-03-2012, 12:34 PM
  4. [SOLVED] code to FIND value, copy, paste values onto other sheet
    By ufo_pilot in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-06-2005, 12:20 PM
  5. Replies: 1
    Last Post: 10-05-2005, 08: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