Thread: Deleting a row
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Neal Neal is offline
external usenet poster
 
Posts: 63
Default Deleting a row

How would I write the code to delete a row depending on if a certain cell is
blank?
If e1 is blank delete row 1 and so on.

range("C").Select
do
row.Delete Shift:=xlUp
loop until isempty(activecell<" ")

Or something like this? I would greatly appreciate the help. Thanks Neal.