+ Reply to Thread
Results 1 to 4 of 4

Copy data and paste special from specific rows to next empty row

  1. #1
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    314

    Copy data and paste special from specific rows to next empty row

    Hi,

    I need help with some code to paste special (values) from specific ranges on one worksheet to specific row to next empty row on another worksheet.

    e.g - copy data from Sheets(3) Range (A2:K35) and Paste Special in Sheets(1) from Row251 to next empty rows.

    Thanks in Advance.
    Thanks & Regards.
    hkbhansali

  2. #2
    Forum Expert
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    1,499

    Re: Copy data and paste special from specific rows to next empty row

    Sub t()
    Sheets(3).Range("A2:K35").Copy
    Sheets(1).Cells(Rows.Count, 1).End(xlUp)(2).PasteSpecial xlPasteValues
    End Sub
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, click the 'Go Advanced' button, Then click 'Manage Attachements' and follow the menu.
    Thinking I am smart and knowing I am smart are two entirely different levels of schizophrenia.

  3. #3
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    314

    Re: Copy data and paste special from specific rows to next empty row

    Hi JLGWhiz ,

    Your code work perfect...

    thank you.

  4. #4
    Forum Expert
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    1,499

    Re: Copy data and paste special from specific rows to next empty row

    Quote Originally Posted by hkbhansali View Post
    Hi JLGWhiz ,

    Your code work perfect...

    thank you.
    You're welcome and thanks for the reps,
    regards, JLG

+ 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