+ 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
    387

    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.
    My English is very poor, so please be patient >_<"

    Thanks & Regards.
    hkbhansali

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    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, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

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

    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 JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    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)

Similar Threads

  1. Insert set number of rows between data and copy and paste data above empty rows
    By Orionm45 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2017, 11:35 AM
  2. Copy & Paste Special Values at a Specific Time Each Day
    By srb008 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2014, 03:37 PM
  3. Replies: 0
    Last Post: 03-20-2014, 11:51 AM
  4. Copy specific rows from many files and paste into next empty row in master file
    By Rednalyn in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-08-2013, 09:13 AM
  5. Copy and Paste Special Values Macro ignoring cells with specific condition
    By chendriks47 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-06-2011, 03:01 AM
  6. Copy then paste special to next empty row in range
    By slearner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-19-2010, 02:54 AM
  7. Macro-Copy&Paste Fixed Data Ranges Into Last Empty Cell of Specific Column
    By hailnorm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-26-2009, 10: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