VBA - Copy & Paste entire row to another sheet based on criteria

BillingCode_Help

New Member
Joined
Aug 2, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello

I am working on a spreadsheet for insurance billing. I need a macro that will copy an entire row from the master sheet table and paste it to a specified sheet. More specifically, if column L in the master sheet table has the criteria "waiver", I need that entire row to be copied to the "waiver" sheet (not sure if I need this sheet set as a table with the same columns as the master or do I leave it blank). I am new to macros and appreciate any and all insight into this issue.

Thanks!
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Is this a one time operation? If so, why not sort the data based on column L and manually copy and paste all the rows with "waiver" to the new sheet in one action?
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,693
Members
448,979
Latest member
DET4492

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