Some VBA Help Please

dj_tct

New Member
Joined
Oct 5, 2006
Messages
3
I would like for the code to find an amount (say in column d), select the row(s), and delete them.

Any and all responses are appreciated.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,884
HI Don
Welcome to the board

You don't need vba to do it. Just use autofilter, filter by the amount and delete the rows.

If, however, you really want the vba code, you can start by doing it one time manually and use the macro recorder. Then inspect the code and adjust it.

Hope this helps
PGC
 

dj_tct

New Member
Joined
Oct 5, 2006
Messages
3
I'm shaking my head in disbelief thinking, "Why didn't I think of that?" I have actually created several of my macros that way...perhaps my brain is just fried.
 

Forum statistics

Threads
1,136,706
Messages
5,677,309
Members
419,685
Latest member
hennLow

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