Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example creates a workbook with two sheets and sets the active cell to not display a highlight in the first sheet.

C++

// Set number of sheets
m_Spread.SetSheetCount(2);
m_Spread.SetSheet(1);
// No Highlight
m_Spread.SetActiveCellHighlightStyle(ActiveCellHighlightStyleOff);

Visual Basic

' Set the sheet count
fpSpread1.SheetCount = 2
' Set the sheet number
fpSpread1.Sheet = 1
' Set the active cell style
fpSpread1.ActiveCellHighlightStyle = ActiveCellHighlightStyleOff

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.