Thread: Delete a row
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
acw[_2_] acw[_2_] is offline
external usenet poster
 
Posts: 100
Default Delete a row

Monik

1) has i been initialised to 1 somewhere
2) change the line
Rows("i:i").Selec
t
Rows(i & ":" & i).Selec

Ton

----- monika wrote: ----

I am checking if a particular cell is empty then I ca
delete the entir
row.
This particular code is not working

While Cells(i, 3) = "
Rows("i:i").Selec
Selection.Delete Shift:=xlU
lastCellNum = lastCellNum -
i = i +
Wen
Thank

monik