引用命名空间 using Microsoft.Office.Core; using Word = Microsoft.Office.Interop.Word; using Excel = Microsoft.Office.Interop.Excel; using PowerPoint = Microsoft.Office.Interop.PowerPoint; Word文件的读取 public string ReadFile() { string text = string.Empty; Wor…
,新建C#控制台应用程序(Excel创建图表) using System; using System.Collections.Generic; using System.Linq; using System.Text; //解决方案中 添加引用 Execl(COM组件) using MSExcel = Microsoft.Office.Interop.Excel; using System.IO; using System.Reflection; namespace ExeclCharts {…
BIP Deskotop 11.119.00.0 (32-bit)Office 2013 (32-bit)Win 7 (64-bit)The current certification matrix seems to say this is supported, however I am having the following problem:1. I have an existing RTF template, with data template that works. I have ru…