|109762||Jul 2,2013 10:58 PM UTC||Jul 3,2013 06:14 AM UTC||WPF||1|
Thanks for contacting Syncfusion support.
You can define the named ranges in the Spreadsheet by using the following code snippet.
this.spreadSheetControl.WorkBookLoaded += spreadSheetControl_WorkBookLoaded;
void spreadSheetControl_WorkBookLoaded(object sender, WorkbookLoadedEventArgs args)
IWorkbook workbook = this.spreadSheetControl.ExcelProperties.WorkBook;
GridControl grid = this.spreadSheetControl.GridProperties.ActiveSpreadsheetGrid;
IName name1 = workbook.Names.Add("FIRSTCELL");
name1.RefersToRange = workbook.ActiveSheet.Range["A1"];
We have prepared a sample based on this and you can find the sample from the below location.
Please let us know if you have any other queries.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.