Example
The following example sets the item data associated with the specified column.
C++
for(x = m_Spread.GetSelBlockCol( ) x<=m_Spread.SelBlockCol2( ); x++)
{
m_Spread.SetColItemData(x, l);
}
Visual Basic
For x = fpSpread1.SelBlockCol To fpSpread1.SelBlockCol2
l = Val(fpSpread1.Text)
fpSpread1.SetColItemData x, l
fpSpread1.Row = fpSpread1.Row + 1
Next x