macro which looks in column and if it is blank deletes entire row

  • Thread starter Thread starter vikram
  • Start date Start date
V

vikram

macro which looks in column and if it is blank deletes entire row


if sny row in column A is blank , macro deletes entire row

thanks
appreciate u al
 
sub
dim currange as range
for each currange in range"A:A"
if currange.value = empty then currange.entirerow.delete
next
end sub

Untested as i have typed it straight into the editor....

Dunca
 

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