VBA Code for Checking some Numbers between two Workbook & Highlight the same & also Delete the highlighted numbers with whole row.

Bharath Kumar

New Member
Joined
May 20, 2015
Messages
14
Hi There,

I have to prepare a report. for that I need a Macro which does the following method:

There are two workbooks namely A & B, A is the Tracker & B is the report what I have to prepare. So now I have to delete some column with full row which contains same numbers as in A workbook. The number would be like US20150518162044721. The given number will be there in B workbook also so Now I have to delete the entire row which is there in B workbook. The Number should highlight & Then should delete or directly should delete. Please help me out. Many Thanks in Advance...
 

Some videos you may like

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Bharath Kumar

New Member
Joined
May 20, 2015
Messages
14
Help me out on this Buddies????

Hi There,

I have to prepare a report. for that I need a Macro which does the following method:

There are two workbooks namely A & B, A is the Tracker & B is the report what I have to prepare. So now I have to delete some column with full row which contains same numbers as in A workbook. The number would be like US20150518162044721. The given number will be there in B workbook also so Now I have to delete the entire row which is there in B workbook. The Number should highlight & Then should delete or directly should delete. Please help me out. Many Thanks in Advance...
 

Cbrine

Well-known Member
Joined
Dec 2, 2003
Messages
3,196
Bharath,
Why not just use a vlookup to identify the values from A that exist on B, then sorted based on that vlookup, and delete the values that match?
 

Watch MrExcel Video

Forum statistics

Threads
1,122,556
Messages
5,596,820
Members
414,104
Latest member
imamalidadashzada

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