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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
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,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

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