摘要:
添加项目引用using MSWord = Microsoft.Office.Interop.Word;using Microsoft.Office.Interop.Word;1.构建Word //生成Word文件名 filename = @"D:\" + "Temp\\" + DateTime.Now.ToString("yyyyMMddHHmm") + ".docx"; object newfilename = filename; FileStream file = File.Create(filename.To 阅读全文