⑴ vb中如何将打开的word修改后直接保存
Dim AppWord As Word.Application '声明对象
Set AppWord = CreateObject("Word.Application") '实例化对象
AppWord.Documents.Open App.Path & "\举例.doc" '打开已经存在的Word文档
'在文档开头输入“您好!Word VBA”
Selection.TypeText Text:="您好!Word VBA" & vbCrLf
AppWord.Documents.Close True '保存修改
AppWord.Quit '关闭Word
Set AppWord = Nothing '释放资源