怎样另存为一个新的word文件?
Private Sub Command1_Click()
Set docApp = CreateObject("Word.Application")
docApp.Visible = True
Set doc1 = docApp.Documents.Open("C:\a\b\c.doc")
docApp.Selection.Find.ClearFormatting
With docApp.Selection.Find
.Text = "国家"
.Replacement.Text = "中国"
.Forward = True
.Wrap = 1
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchByte = False
.MatchAllWordForms = False
.MatchSoundsLike = False
.MatchWildcards = False
.MatchFuzzy = True
End With
docApp.Selection.Find.Execute
docApp.Selection.TypeText "中国"
doc1.Close
Set doc1 = Nothing
docApp.Quit
Set docApp = Nothing
End Sub
数据读到c.doc后怎样能另存为一个ok.doc并保存在C:\a\b\ 下。