[]
By default, users can freely select any cell range.
You can retrieve the address of the currently selected cell range using the Address method.
MessageBox.Show(spreadSheet1.Workbook.Worksheets[0].Selection.Address()); MessageBox.Show(spreadSheet1.Workbook.Worksheets[0].Selection.Address())To apply styles to the selected cell range, use the SelectionBackground and SelectionStyle enumerations for configuration.