VB6.0编辑word模板怎样才能另存为一个文件不覆盖掉模板?
Dim MyWord As Word.ApplicationDim MyDoc As Word.Document
Dim MyRange As Word.Range
Dim MySelect As Word.Selection
Dim textplant As String
Dim textart As String
Set MyWord = New Word.Application
MyWord.Visible = True
With MyWord
.WindowState = wdWindowStateMaximize
Set MyDoc = .Documents.Add(App.Path & "\输出报告1.doc")
End With
MyWord.Selection.GoTo what:=wdGoToBookmark, Name:="textplant"
MyWord.Selection.TypeText Text:=Form1.form1Textplant
Set MyRange = Nothing
Set MyDoc = Nothing
Set MyWord = Nothing