Blueherb In solitude, where we are least alone
摘要: using System;using System.Collections.Generic;using System.Text;using System.Reflection;using System.Runtime.InteropServices;using Microsoft.Office.In 阅读全文
posted @ 2017-09-02 14:43 孤燕 阅读(691) 评论(0) 推荐(0) 编辑
摘要: 插入空行: Microsoft.Office.Interop.Excel.Workbook xlsWorkbook; Microsoft.Office.Interop.Excel.Worksheet xlsSheet = xlsWorkbook.Worksheets[1]; Microsoft.Of 阅读全文
posted @ 2017-09-02 14:40 孤燕 阅读(6042) 评论(0) 推荐(0) 编辑
摘要: private _Workbook _workBook = null;private Worksheet _workSheet = null;private Excel.Application _excelApplicatin = null; _excelApplicatin = new Excel 阅读全文
posted @ 2017-09-02 14:37 孤燕 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 方法一: /// 将图片插入到指定的单元格位置,并设置图片的宽度和高度。/// 注意:图片必须是绝对物理路径/// </summary>/// <param name="RangeName">单元格名称,例如:B4</param>/// <param name="PicturePath">要插入图片 阅读全文
posted @ 2017-09-02 14:35 孤燕 阅读(5469) 评论(1) 推荐(1) 编辑