View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Mark Lincoln Mark Lincoln is offline
external usenet poster
 
Posts: 227
Default 0 considered as empty

Change the If line to read:

If (Cells(aa, columna) < "") and (Cells(aa, columna) = c) Then

That's all on one line.