VBA to delete a row containing a value equal to the value corresponding to the highlighted cell

prasadyanz

New Member
Joined
Oct 21, 2013
Messages
17
Few rows of the tables will be already highlighted, i want to delete the rows with value(at column A) equal to the value of column a of the highlighted ones

for example
1.50270.0090.0017.006.01-0.175.63
1.50270.00180.0017.006.06-0.136.67
1.50270.00270.0017.006.02-0.175.62
1.000.000.0017.005.60-0.186.00
1.000.0090.0017.005.65-0.136.54
1.000.00180.0017.005.71-0.098.14

<tbody>
</tbody>
in the above table, 5.63 and 5.62 are highlighted(whose corresponding value at column A is 1.5), i want delete all the rows which has 1.5 at column A.

Its a bit complex for me, please let me know how to proceed. thanks.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,214,957
Messages
6,122,466
Members
449,086
Latest member
kwindels

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