If Cells(1, "A") = "Name" = False Or _
Cells(1, "B") = "Cost Object Type" = False Or _
Cells(1, "C") = "Cost Object" = False Or _
Cells(1, "D") = "Description Cost Object" = False Or _
Cells(1, "E") = "Start date" = False Or _
Cells(1, "F") = "End Date" = False Or _
Cells(1, "G") = "Est. Act. Days" = False Or _
Cells(1, "H") = "Responsible Person" = False Or _
Cells(1, "I") = "Hide" = False Or _
Cells(1, "J") = "UNote" = False _
Then MsgBox "The structure of the file is not appropriate with this program. please make sure that the structure of the file is precisely as descripted" & Chr(13) & "A = Name" & Chr(13) & "B = Cost Object Type" & Chr(13) & "C = Cost Object" & Chr(13) & "D = Description Cost Object" & Chr(13) & "E = Start date" & Chr(13) & "F = End Date" & Chr(13) & "G = Est.Act.Days" & Chr(13) & "H = Responsible Person" & Chr(13) & "I = Hide" & Chr(13) & "J = UNote" & Chr(13) & "If you want to remove a row, this one must contain in the column J ""Not relevant for AGS"""
Exit Sub