Example
The following example selects the first three columns of rows 1 and 3.
C++
m_Spread1->SetAllowMultiBlocks(TRUE);
m_Spread1->SetSelection(1, 1, 3, 1);
m_Spread1->AddSelection(1, 3, 3, 3);
Visual Basic
fpSpread1.AllowMultiBlocks = True
fpSpread1.SetSelection 1, 1, 3, 1
fpSpread1.AddSelection 1, 3, 3, 3