Just for the record, I couldn't find the time to produce a sample workbook, so I make a workaround...
Since by looping through column B manually and checking if the text is present works, I created a loop for 300 rows that check if the text is present.
Largest worksheet has like 100 rows. So it shouldn't be a problem.
For ctp = 0 To 300
If (Not (LCase(timeSheet.Cells(ROW_DEBUT_CODE_PROJET + ctp, 2)) = "total / jour :")) Then
foundEndLine = False
Else
foundEndLine = True
Exit For
End If
Next ctp
If (Not foundEndLine) Then
isValid = False
End If
AreDataValid = isValid
Bookmarks