AD
Administrator
Syncfusion Team
July 10, 2006 02:48 PM UTC
Instead of using [Enum].GetName(bit.GetType, i), try using the shared member of GridRangeInfo.GetAlphaLabel.
Dim col as String
For i = 2 To 100
col = GridRangeInfo.GetAlphaLabel(i)
With grdCB_PRP(2, i)
.Format = "0.00"
.CellType = "FormulaCell"
.CellValue = "=Sum" & "(" & col & 3 & ":" & col & 42 & ")"
End With
Next
PB
Philip Bishop
July 10, 2006 03:28 PM UTC
Hey thanks for the fast response. Thats exactly what I was looking for. Works great!!