Paste to next line down not working?

rfletcher35

Active Member
Joined
Jul 20, 2011
Messages
289
Office Version
  1. 365
Platform
  1. Windows
I have the code below but for some reason it is not printing on the next line down for AC and AD, I can't understand why as I am using the same line of code for another part of my project and it works fine. Can anyone explain?

Range("D5:D69").Select
Selection.Copy
Sheets("Certificate").Range("AC2").PasteSpecial Paste:=xlPasteValues
Range("i5:i69").Select
Selection.Copy
Sheets("Certificate").Range("AC" & Rows.Count).End(xlUp).Offset(1).PasteSpecial Paste:=xlPasteValues
Range("E5:E69").Select
Selection.Copy
Sheets("Certificate").Range("AD2").PasteSpecial Paste:=xlPasteValues
Range("J5:J69").Select
Selection.Copy
Sheets("Certificate").Range("AD" & Rows.Count).End(xlUp).Offset(1).PasteSpecial Paste:=xlPasteValues
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

rfletcher35

Active Member
Joined
Jul 20, 2011
Messages
289
Office Version
  1. 365
Platform
  1. Windows
Ignore this is just suddenly started to work!! Apologies can't explain!
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,862
Messages
5,834,036
Members
430,256
Latest member
Todor T

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
Top