Syncfusion.XlsIO.Base
Example 


Unselect Method

Removes the selection from the sheet.
Syntax
'Declaration
 
Sub Unselect() 
'Usage
 
Dim instance As ITabSheet
 
instance.Unselect()
void Unselect()
Example
Following code illustrates how to remove the selection from the sheet
ExcelEngine excelEngine = new ExcelEngine();
IApplication application = excelEngine.Excel;
application.DefaultVersion = ExcelVersion.Excel2013;
IWorkbook workbook = application.Workbooks.Create(2);
ITabSheet sheet = workbook.Worksheets[1];
            
// Removes the selection from the sheet.
sheet.Unselect();
            
workbook.SaveAs("Unselect.xlsx");
workbook.Close();
excelEngine.Dispose();
AssemblyVersion

Syncfusion.XlsIO.Base: 16.4460.0.40

See Also