copy a row range and paste to another sheet

spycein

Board Regular
Joined
Mar 8, 2014
Messages
135
Office Version
  1. 365
Platform
  1. Windows
Hi Everybody, actually i want to use vba to copy a range of data to another sheet.

For example i have two worksheets. Sheet one named Invoice List which contains a table as follows

Date Bill No. Amount Payament Status
1/8/14 1 100 pending
31/7/14 2 200 pending

so if i type "paid" in "payment status" column the the data of that row (start from column A to column C) except payment status column (column D) should copy and paste special to the sheet 2 named "Paid" and then delete that range.

Hope you guys understand my query.

Thank you in advance.
 
Vog. Thanks for your help. The script:
Code:
[COLOR=#b22222]If Target.Address = "$C$4" Then
        Range("A:B").ClearContents
[/COLOR]
Works find for me but not when combined with other script. I'm not use to working with:
Code:
Application.EnableEvents = False
If you should think of a solution I would enjoy hearing back from you. Have a nice weekend.
 
Last edited:
Upvote 0

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Forum statistics

Threads
1,216,105
Messages
6,128,859
Members
449,472
Latest member
ebc9

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