MOVE DATA

Moeses

New Member
Joined
Mar 21, 2019
Messages
7
Hi,

I am trying to move an entire row from sheet A (Form) to sheet B (Master)
But for some reason, I am getting error # 1004 on line 2 below.
Please help? thank you


Sub Move_data()

Rows.Range("B3:R3").Copy
Worksheets("Master").Range("A3:Q3").End(xlDown).Offset(1, 0).EntireRow.Insert
Worksheets("Form").Activate
Worksheets("Form").Range("B3:R3").ClearContents
Worksheets("Form").Cells(3, 1).Select
Application.CutCopyMode = False

End Sub
 
You're welcome & thanks for the feedback.
 
Upvote 0

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,214,944
Messages
6,122,391
Members
449,080
Latest member
Armadillos

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