Deleting rows

  • Thread starter Thread starter exocet.am39
  • Start date Start date
E

exocet.am39

Hi,

I'm new to macro programming. In colum B, I have 0's and 1's. How can
I write a simple macro to delete all rows containing 1's?

thank you!

d b
 
You could record a macro when you:
Select column B
filter to show the 1's
delete the visible rows
remove the autofilter.
Stop recording.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top