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...
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
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...
 
Upvote 0
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?
 
Upvote 0

Forum statistics

Threads
1,215,036
Messages
6,122,794
Members
449,095
Latest member
m_smith_solihull

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