A case of brain freeze with "Cut Paste"

banerg

New Member
Joined
Oct 8, 2004
Messages
33
Hi everyone,

I am basically trying to cut active row from Sheet 3, go to Sheet 1, find the next blank row and paste.

Worksheets("Sheet3").Activate
ActiveCell.EntireRow.Select
Selection.Cut

Worksheets("Sheet1").Activate
ActiveSheet.Paste Destination:=Range("a1").End(xlDown).Offset(1, 0).Select

For some reason (and am sure - a very valid one!!) this is not working. I have already spend a lot of time on this one, so I HAVE TO BE overlooking the error again and again.

It would help a lot if fresh set of eyes gave it a look over. Appreciate it a lot.
Thanks.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Step 1.
Put down the slurppee

Step 2.
Change your code to this.

Worksheets("Sheet3").Activate
ActiveCell.EntireRow.Select
Selection.Cut Worksheets("Sheet1").Range("a65535").End(xlup).Offset(1, 0)


HTH
Cal

Edit:Whoops, forgot to remove the .select from the range.
 
Upvote 0

Forum statistics

Threads
1,215,606
Messages
6,125,803
Members
449,261
Latest member
Rachel812321

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