[C#]//Instantiating a Workbook objectWorkbookworkbook=newWorkbook();//Adding a new worksheet to the Excel objectworkbook.Worksheets.Add();//Obtaining the reference of the newly added worksheet by passing its sheet indexWorksheetworksheet=workbook.Worksheets[0];//Accessing the "A1" cell from the worksheetAspose.Cells.Cellcell=worksheet.Cells["A1"];//Adding some value to the "A1" cellcell.PutValue("Visit Aspose!");//getting charactorFontSettingcharactor=cell.Characters(6,7);//Setting the font of selected characters to boldcharactor.Font.IsBold=true;//Setting the font color of selected characters to bluecharactor.Font.Color=Color.Blue;//Saving the Excel fileworkbook.Save("book1.xls");[VB.NET]'InstantiatingaWorkbookobjectDimworkbookAsWorkbook=NewWorkbook()'AddinganewworksheettotheExcelobjectworkbook.Worksheets.Add()'ObtainingthereferenceofthenewlyaddedworksheetbypassingitssheetindexDimworksheetAsWorksheet=workbook.Worksheets(0)'Accessingthe"A1"cellfromtheworksheetDimcellAsAspose.Cells.Cell=worksheet.Cells("A1")'Addingsomevaluetothe"A1"cellcell.PutValue("Visit Aspose!")'gettingcharactorDimcharactorAsFontSetting=cell.Characters(6,7)'Settingthefontofselectedcharacterstoboldcharactor.Font.IsBold=True'Settingthefontcolorofselectedcharacterstobluecharactor.Font.Color=Color.Blue'SavingtheExcelfileworkbook.Save("book1.xls")