この例では、7列50行のスプレッドシートを設定し、Cellオブジェクトを作成し、このオブジェクトを4列4行の連結セルにします。
FpSpread1.Sheets[0].ColumnCount = 7;
FpSpread1.Sheets[0].RowCount = 50;
FarPoint.Web.Spread.Cell mycell = null;
mycell=FpSpread1.Cells[0, 0];
mycell.ColumnSpan = 4;
mycell.RowSpan = 4;
FpSpread1.Sheets(0).ColumnCount = 7
FpSpread1.Sheets(0).RowCount = 50
Dim mycell As FarPoint.Web.Spread.Cell
mycell = FpSpread1.Cells(0, 0)
mycell.ColumnSpan = 4
mycell.RowSpan = 4