+ Reply to Thread
Results 1 to 4 of 4

how do I paste ONLY values from one sheet to another

  1. #1
    Registered User
    Join Date
    10-23-2012
    Location
    Montana
    MS-Off Ver
    Excel 1997 and Excel 2010
    Posts
    12

    how do I paste ONLY values from one sheet to another

    Hello!

    So...here's the issue, I need to copy a range of cells on one worksheet and paste them in another while maintaining the formatting of the second worksheet.

    This doesn't work....I'm not sure why but I get the error message "Select method of range class failed"

    Please Login or Register  to view this content.

    And this doesn't maintain the formatting...

    Please Login or Register  to view this content.

    Any thoughts?

    Thanks so much!!
    Last edited by OliveMarie; 10-24-2012 at 12:52 AM.

  2. #2
    Registered User
    Join Date
    09-27-2012
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: how do I paste ONLY values from one sheet to another

    Hi, It might be failing because the new sheet isn't active. Try

    Please Login or Register  to view this content.
    It might also be a problem with accessing a different sheet with a Private Sub, try making the Sub Public in the first Book.

    I tried this. I created Book2 and Book3 and formatted Cell C6 in Book3 with the different format to Book 2. I then entered dummy data into B3 in Book 2, copied the cell and used paste special to past the values into Book 3, Cell6 and the new formattng was preserved. The range D12 has the default Book3 formatting and when the data is pasted in using the same method, the default Book3 formatting is preserved. Substitute your filenames and ranges in the code below.

    Please Login or Register  to view this content.
    Hope this works for you.

    noclass1980
    Last edited by noclass1980; 10-24-2012 at 01:27 AM.

  3. #3
    Registered User
    Join Date
    10-23-2012
    Location
    Montana
    MS-Off Ver
    Excel 1997 and Excel 2010
    Posts
    12

    Re: how do I paste ONLY values from one sheet to another

    It worked perfectly Thanks!!

  4. #4
    Registered User
    Join Date
    09-27-2012
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: how do I paste ONLY values from one sheet to another

    Your very welcome!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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