点击 添加引用添加完成后 在项目中using Word = Microsoft.Office.Interop.Word;using Excel = Microsoft.Office.Interop.Excel; Read More
posted @ 2013-06-07 10:27
梦醒心晴
Views(461)
Comments(0)
Diggs(0)
using Word = Microsoft.Office.Interop.Word;using Excel = Microsoft.Office.Interop.Excel;/// <summary> /// 将一个word中的内容拷贝到另外一个word中的表格中 /// 前提是目标word中有一个表格 /// </summary> /// <param name="source">源文件</param> /// <param name="target">目标文件</param> Read More
posted @ 2013-06-07 09:59
梦醒心晴
Views(886)
Comments(0)
Diggs(0)
usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Drawing;usingSystem.Windows.Forms;usingSystem.IO;namespace CodeEncoder{ public class WordHelp { private Microsoft.Office.Interop.Word.ApplicationClass oWordApplic; // a reference to Word application priva... Read More
posted @ 2013-06-07 09:24
梦醒心晴
Views(665)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号