Remove redundant GHI empty check
This commit is contained in:
@@ -334,7 +334,6 @@ Sub validateDetailData(ByVal ws As Worksheet, ByVal rowNum As Long)
|
|||||||
h = Trim(ws.Cells(rowNum, 8).Value)
|
h = Trim(ws.Cells(rowNum, 8).Value)
|
||||||
i = Trim(ws.Cells(rowNum, 9).Value)
|
i = Trim(ws.Cells(rowNum, 9).Value)
|
||||||
|
|
||||||
If g <> "" And h <> "" And i <> "" Then
|
|
||||||
lastRow = ws.Cells(ws.Rows.Count, "C").End(xlUp).Row
|
lastRow = ws.Cells(ws.Rows.Count, "C").End(xlUp).Row
|
||||||
|
|
||||||
For r = 7 To lastRow
|
For r = 7 To lastRow
|
||||||
@@ -347,7 +346,6 @@ Sub validateDetailData(ByVal ws As Worksheet, ByVal rowNum As Long)
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
Next r
|
Next r
|
||||||
End If
|
|
||||||
|
|
||||||
' Validation passed
|
' Validation passed
|
||||||
ws.Cells(rowNum, 17).ClearContents
|
ws.Cells(rowNum, 17).ClearContents
|
||||||
|
|||||||
Reference in New Issue
Block a user