How to Paste Special into the next empty row

Haywomen

New Member
Joined
Jun 7, 2019
Messages
3
Hi,

I m trying to paste only the value from a merged cell ("C10:K10"), to the next empty cell in column N. The code I am using unsuccessfully is below:

Range("C10:K10").Copy
Range("N" & Rows.Count).End(xlUp).Offset(1).Select
ActiveSheet.PasteSpecial xlPasteValues
Application.ScreenUpdating = True

Please can someone give me some advice.

Thank you.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Try
Code:
Range("N" & Rows.Count).End(xlUp).Offset(1).value = Range("C10").value
 
Upvote 0
Hi,

I m trying to paste only the value from a merged cell ("C10:K10"), to the next empty cell in column N. The code I am using unsuccessfully is below:

Range("C10:K10").Copy
Range("N" & Rows.Count).End(xlUp).Offset(1).PasteSpecial xlPasteValues
Application.ScreenUpdating = True

Please can someone give me some advice.

Thank you.

The PasteSpecial is in a cell.

Also, if you are only going to paste values, you can pass the value of a different cell, like the code of Nosparks. Here another option.


Code:
Range("N" & Rows.Count).End(xlUp)(2).Value = Range("C10").Value
 
Upvote 0

Forum statistics

Threads
1,223,895
Messages
6,175,257
Members
452,625
Latest member
saadat28

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top