View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] dirknbr@googlemail.com is offline
external usenet poster
 
Posts: 1
Default #REF! in while loop

dear all

i wrote a macro with a while clause, unfortunately there are also some
rows which have #REF! and I want to delete them as well. How do I do
it?

last= 2011
Do While IsNumeric(ActiveSheet.Cells(i, 1).Value) And
ActiveSheet.Cells(i, 1).Value last


Dirk