Fix double prefix
This commit is contained in:
@@ -119,7 +119,7 @@ NextLine:
|
||||
MsgBox writeRow - 7 & " rows imported.", vbInformation
|
||||
End Sub
|
||||
|
||||
Function Z1_Z1_CleanCSVField(ByVal field As Variant) As String
|
||||
Function Z1_CleanCSVField(ByVal field As Variant) As String
|
||||
If IsEmpty(field) Or IsNull(field) Then
|
||||
CleanCSVField = ""
|
||||
Exit Function
|
||||
@@ -137,7 +137,7 @@ Function Z1_Z1_CleanCSVField(ByVal field As Variant) As String
|
||||
CleanCSVField = result
|
||||
End Function
|
||||
|
||||
Sub Z1_Z1_validateDetailData(ByVal ws As Worksheet, ByVal rowNum As Long)
|
||||
Sub Z1_validateDetailData(ByVal ws As Worksheet, ByVal rowNum As Long)
|
||||
' Check C column - must be 3-digit alphanumeric, required
|
||||
Dim cValue As String
|
||||
cValue = Trim(ws.Cells(rowNum, 3).Value)
|
||||
@@ -250,7 +250,7 @@ Sub Z1_validateDetailDataButton()
|
||||
|
||||
errorCount = 0
|
||||
For r = 7 To lastRow
|
||||
Call Z1_Z1_validateDetailData(ws, r)
|
||||
Call Z1_validateDetailData(ws, r)
|
||||
If Trim(ws.Cells(r, 2).Value) <> "" Then
|
||||
errorCount = errorCount + 1
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user