this is my coding showing the error for the operation is not supported
dynamic excel = AutomationFactory.CreateObject("Excel.Application");
excel.Visible = true;
dynamic workbook = excel.workbooks;
workbook.Add();
dynamic sheet = excel.ActiveSheet;
dynamic cell = null;
int i = 1;
//Populate the excel sheet
foreach (var item in (LayoutRoot.DataContext as Bookmarks).Sites)
{
cell = sheet.Cells[i, 1];
cell.Value = item.Title;
cell = sheet.Cells[i, 2];
cell.Value = item.Uri;
cell.ColumnWidth = 100;
i++;
}