vc 操作word,包括新建文档,保存文档,写入文字,新建表格,更改表格格式,合并单元格等。 另定义了一些word宏: wdFormatDocument wdFormatDocument97 wdFormatTemplate wdFormatTemplate97 wdFormatText wdFormatTextLineBreaks wdFormatDOSText wdFormatDOSTextLineBreaks wdFormatRTF wdFormatUnicodeText wdFormatEncodedText wdFormatHTML wdFormatWebArchive wdFormatFilte redHTML wdFormatXML wdFormatXMLDocument wdFormatXMLDocumentMacroEnabled wdFormatXMLTemplate wdFormatXMLTemplateMacroEnabled wdFormatDocumentDefault wdFormatPDF wdFormatXPS wdFormatFlatXML wdFormatFlatXMLMacroEnabled wdFormatFlatXMLTemplate wdFormatFlatXMLTemplateMacroEnabled wdLineStyleNone wdLineStyleSingle wdCharacter wdWord …… …… redHTML wdFormatXML wdFormatXMLDocument wdFormatXMLDocumentMacroEnabled wdFormatXMLTemplate wdFormatXMLTemplateMacroEnabled wdFormatDocumentDefault wdFormatPDF wdFormatXPS wdFormatFlatXML wdFormatFlatXMLMacroEnabled wdFormatFlatXMLTemplate wdFormatFlatXMLTemplateMacroEnabled wdLineStyleNone wdLineStyleSingle wdCharacter wdWord …… ……