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.
 

Some videos you may like

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Cbrine

Well-known Member
Joined
Dec 2, 2003
Messages
3,196
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,564
Messages
5,596,875
Members
414,106
Latest member
Tigretto

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