07 2018 档案
删除sheet
摘要:/// /// 删除sheet /// /// /// /// public static bool XLDeleteSheet(string fileName, string sheetToDelete) { bool returnV...
阅读全文
其于OpenXml SDK写的帮助类
摘要:/// /// 其于OpenXml SDK写的帮助类 /// public static class OpenXmlHelper { /// /// 单元格样式 /// public static uint CellStyleIndex { get; set; } /...
阅读全文
openxml excel封装类
摘要:public class ExcelUntity { #region property /// /// excel文档(相当于excel程序) /// public SpreadsheetDocument spreadsheetDocument { get; set; } = null; ...
阅读全文
读取嵌入到word的Excel对象
摘要:Word.Document doc = this._wordApplication.Documents.Add(@"C:\Users\linmeicheng\Desktop\新建文件夹 (3)\Doc1.docx"); foreach (Word.ContentControl item in doc.ContentControls) ...
阅读全文
在Word中插入Excel对象
摘要:1 using Word = NetOffice.WordApi; 2 3 Word.Document doc = this._wordApplication.Documents.Add(@"C:\Users\li\Desktop\新建文件夹 (3)\Doc1.docx"); 4 5 Word.ContentControl contentControl = doc.ContentC...
阅读全文
浙公网安备 33010602011771号