I think your problem lies in getting to the cell underneath the last cell containing data (the first blank cell). To select the first empty cell and its corresponding row, try the following:
Say you're starting with the top of column A:
Range("A1").Select 'starts with cell A1
Selection.End(xlDown).Select 'to end of data
ActiveCell.Offset(1,0).Rows("1:1").EntireRow.Select
I can't figure out how to get Excel to enter the number of that row into another cell, but maybe this will be enough to get you started.
Cory
==========
Noelle, Try putting the following code into your VBA module...
Sub Chkdat()
Range("A1").Select 'starts with cell A1
Selection.End(xlDown).Select 'to end of data
lr = ActiveCell.Row
For rw = 1 To lr
For cl = 2 To 5 ' I have assumed your table width is 5 columns including Col A
If Cells(rw, cl).Value = "" Then
' do what ever you want with a blank cell in your
' table ... eg set value to XXX.
Cells(rw, cl).Value = "XXX"
End If
Next
Next
End Sub
--
I am not exactly sure what you want to do once you have identified any blank cells in the table but the above code will find them and for want of anything better I have set them all to the value XXX.
Let me know if this helps
Sean.