07 2018 档案
删除sheet
摘要:/// /// 删除sheet /// /// /// /// public static bool XLDeleteSheet(string fileName, string sheetToDelete) { bool returnV... 阅读全文
posted @ 2018-07-23 18:33 天之梅子 阅读(251) 评论(0) 推荐(0)
其于OpenXml SDK写的帮助类
摘要:/// /// 其于OpenXml SDK写的帮助类 /// public static class OpenXmlHelper { /// /// 单元格样式 /// public static uint CellStyleIndex { get; set; } /... 阅读全文
posted @ 2018-07-23 18:31 天之梅子 阅读(759) 评论(0) 推荐(0)
openxml excel封装类
摘要:public class ExcelUntity { #region property /// /// excel文档(相当于excel程序) /// public SpreadsheetDocument spreadsheetDocument { get; set; } = null; ... 阅读全文
posted @ 2018-07-23 18:29 天之梅子 阅读(740) 评论(0) 推荐(0)
读取嵌入到word的Excel对象
摘要:Word.Document doc = this._wordApplication.Documents.Add(@"C:\Users\linmeicheng\Desktop\新建文件夹 (3)\Doc1.docx"); foreach (Word.ContentControl item in doc.ContentControls) ... 阅读全文
posted @ 2018-07-23 18:27 天之梅子 阅读(887) 评论(0) 推荐(0)
在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... 阅读全文
posted @ 2018-07-23 12:19 天之梅子 阅读(646) 评论(0) 推荐(0)