+ Reply to Thread
Results 1 to 3 of 3

Paste only values into another spreadsheet after last used rows

  1. #1
    Registered User
    Join Date
    06-02-2016
    Location
    Singapore
    MS-Off Ver
    2013
    Posts
    14

    Paste only values into another spreadsheet after last used rows

    Hi guys,

    Below is my description of what I need:

    Step 1) Copy cells M1:N9 in Sheet 1.
    Step 2) Paste the values ONLY in Sheet 2, on column W after last used row.

    Worksheets("Sheet 1").Range("M1:N9").Copy

    This is what I have now and I'm stuck at pasting.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Paste only values into another spreadsheet after last used rows

    Try:

    Dim LastRow as Double
    LastRow = Worksheets("Sheet2").cells(Rows.Count,"A").End(xlUp).Row
    Worksheets("Sheet 1").Range("M1:N9").Copy Destination:=Worksheets("Sheet2").Cells(LastRow +1, "A")

    (not tested)
    I just reread the question. Record a macro and see how to paste values only. Then use the "LastRow" idea to select the cell and then Paste Values only.
    Last edited by MarvinP; 06-28-2016 at 12:20 AM.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,565

    Re: Paste only values into another spreadsheet after last used rows

    This is what I prefer for these kind of scenarios. No worries copying and pasting.
    Change Sheet references as required.
    Please Login or Register  to view this content.
    Another possibility. Change Sheet references as required.
    Please Login or Register  to view this content.
    Last edited by jolivanes; 06-28-2016 at 12:42 AM. Reason: Change references, add info

+ 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. Copy Formulas and Paste into the Last Set # of Rows Only & Paste Values
    By Mr. Ice in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-23-2014, 07:48 AM
  2. Copy and paste values to new spreadsheet.
    By Excel15 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-24-2014, 02:27 PM
  3. copy filtered rows and paste to same rows in another spreadsheet
    By jwwk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-17-2013, 06:50 AM
  4. Paste values form one spreadsheet to antoher
    By kukidog in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-07-2013, 12:02 PM
  5. Extract random rows from a spreadsheet and paste into another
    By ozleopard in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-07-2012, 10:14 AM
  6. How can I autofill (copy & paste) formulae down rows in a spreadsheet?
    By Trevorst in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 11-02-2008, 05:11 AM
  7. Replies: 4
    Last Post: 05-23-2006, 12:15 PM

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