public void ExportTextsExcel() { using (var excel = new Excelnterop()) { excel.CreateApplication(); excel.CreateWorkbook(); excel.ExportValues(Project.TextValues, Project.Texts.Count + 1, 3, "Texts", "Texts"); } }
public void ExportElementsExcel() { using (var excel = new Excelnterop()) { excel.CreateApplication(); excel.CreateWorkbook(); foreach (var sheet in Project.Sheets) { if (sheet.IsExported == true) { excel.ExportValues(sheet.Values, sheet.Rows, sheet.Columns, sheet.Name, sheet.TagSet.Name); } } } }