Copy the entire row in New workbook

laku0006

New Member
Joined
May 13, 2010
Messages
5
Hello,

Can any one help me create a macro, Let me tell you what am looking for,
I have a worksheet which is regularly updated as Research complete or Complete Research in the F column, what I want is to copy the entire row when ever the F column is updated and paste the Entire row in to another worksheet calls Master.

can anyone help me on this. If anyone has questions can reply me.

Appreciate your help in this regard.

Thanks.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
How is your Column F populated?

Is there any way it (Col F) could get populated with the intended Research Complete or Complete Research and not receive either of these 2 exact phrases?
 
Upvote 0
Yes, it has a Validation list, which has Research Complete and Pending Research, below is the code which I have, but this works with in the same workbook, but I want to paste the details in a new workbook, which i have named as Master.

This is working in the same sheet but i want to paste in a new workbook.

Private Sub WorkSheet_Change(ByVal Target As Range)
If Target.Count > 1 Then Exit Sub
If Target.Column <> 9 Then Exit Sub
If Target = "Pending" Or Target = "Complete" Then
Sheets("Master").Cells(Rows.Count, "A").End(xlUp).Offset(1).Resize(, 9) = Target.Offset(, -8).Resize(, 9).Value
End If
End Sub

Please help.

Thanks
Lav...
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,750
Members
452,940
Latest member
rootytrip

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