Sub CheckPoint()
Dim EndCl As Integer, i As Integer, StRw As Byte
Dim EndRw As Long, x As Long, CnT As Long
Dim myMsG As String, myRng As Range
EndCl = Cells(1, Columns.Count).End(xlToLeft).Column
For i = 1 To EndCl
StRw = 8
EndRw = Cells(Rows.Count, i).End(xlUp).Row
Set myRng = Range(Cells(StRw, i), Cells(EndRw, i))
myMsG = "Please give inputs in sequentially. Cells cannot be empty in between."
CnT = WorksheetFunction.CountA(myRng)
If CnT <> myRng.Rows.Count And CnT <> 0 Then
myMsG = myMsG & " Blanks Found In Column " & i
MsgBox myMsG, vbInformation, "Blanks Found"
myMsG = ""
End If
Next i
End Sub
Bookmarks