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