For i=1 to 5
Dim item As New DataGridViewRow
item.CreateCells(FrmDas.DgvDelays)
With item
.Cells(1).Value = (ws.Cells("b"+(i+1)).Value.ToString())
.Cells(2).Value = (ws.Cells("c"+(i+1)).Value.ToString())
.Cells(3).Value = (ws.Cells("D"+(i+1)).Value.ToString())
.Cells(4).Value = (ws.Cells("E"+(i+1)).Value.ToString())
.Cells(5).Value = (ws.Cells("F"+(i+1)).Value.ToString())
End With
'---add the row---
FrmDas.DgvDelays.Rows.Add(item)
End For
Check the syntax for the concatenation of b2,c2 etc