View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Michael Whitney Michael Whitney is offline
external usenet poster
 
Posts: 1
Default Using Counta with a range

I am trying to look at a range of cells to determine if the row is empty
within this range. But the code below is only looking at the first cell, not
the selected range.


Do

Empty_Check = Application.CountA(Cells(ActiveCell.Row,
1).Range("B1:N1").Select)
MsgBox (Str(Empty_Check))
ActiveCell.Offset(1, 0).Range("A1").Select

Loop Until Empty_Check = 0