hi,
I have SAP file and I`m counting number of row in one order, example:
<tbody>
</tbody>
I have code:
How to count row number for A, B and C?
Result should be:
A=3
B=2
C=3
Please help
I have SAP file and I`m counting number of row in one order, example:
A | 1 |
1 | |
1 | |
B | 1 |
1 | |
C | 1 |
1 | |
1 |
<tbody>
</tbody>
I have code:
Code:
For i = 2 To lastrow
If SAP_WS.Range("A" & i).Value <> "" Then
row_wynik = row_wynik + 1
ws.Cells(row_wynik, 1).Value = SAP_WS.Cells(i, 1)
ws.Cells(row_wynik, 2).Value = SAP_WS.Cells(i, 2)
End If
Next i
How to count row number for A, B and C?
Result should be:
A=3
B=2
C=3
Please help