I'm trying to report cells that are empty in columns A-F starting at row 4 to end of file (top 3 rows are title information).. Here is my procedure. The offset method is not valid. Also, how to do I print the column letter and not the column number (c.Column)
Public Function ValidateWSRows(ByRef ws As Worksheet) As Boolean
' Check for required data in cell columns A-F of Project Worksheet
'
Dim cellcount() As String
Dim count As Integer = 0
ws.Offset(rowOffset:=4).Activate
For Each c In ws.Range("A:F").Cells
If c.Value = "" Then
cellcount(count) = c.Column + c.Row
count = count + 1
End If
Console.WriteLine("The following Empty cells are not allowed in Columns A-F: ")
Console.WriteLine(cellcount)
If count > 0 Then
ValidateWSRows = False
Else
ValidateWSRows = True
End If
Next
End Function