Sub Test()
Dim xRow As Long, LastEmptyRow As Long
If Len(ActiveCell.Offset(-1).Value) = 0 Then
xRow = ActiveCell.Row - 1
Else
For xRow = ActiveCell.Row - 1 To 1 Step -1
If Len(Cells(xRow, 3).Value) = 0 Then
LastEmptyRow = xRow
Exit For
End If
Next xRow
End If
Range(ActiveCell, Cells(xRow + 1, 3)).Select
End Sub
But due to my poor VBA knowledge/skills the way I overcame a problem in my primary code was to select the cell in question,Note the usual boilerplate proviso