Remove header from Z1 export
This commit is contained in:
@@ -70,14 +70,7 @@ Sub Z1_ExportMasterDetailData()
|
||||
savePath = GetSaveCSVPath()
|
||||
If savePath = "" Then Exit Sub
|
||||
|
||||
' Build header from row 5
|
||||
csvContent = Trim(ws.Cells(5, 3).Value)
|
||||
For j = 9 To 18
|
||||
csvContent = csvContent & "," & Trim(ws.Cells(5, j).Value)
|
||||
Next j
|
||||
csvContent = csvContent & vbLf
|
||||
|
||||
' Build data rows
|
||||
' Build data rows (no header)
|
||||
rowCount = 0
|
||||
For r = 7 To lastDataRow
|
||||
If Len(Trim(ws.Cells(r, 3).Value & "")) > 0 Then
|
||||
|
||||
Reference in New Issue
Block a user