Function SaveAsWord(DiskStr, NameStr) '另存为
ChangeFileOpenDirectory DiskStr
wordDoc.SaveAs FileName:=NameStr, FileFormat:=wdFormatDocument _
, LockComments:=False, Password:="", AddToRecentFiles:=True, _
WritePassword:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts:=False, _
SaveNativePictureFormat:=False, SaveFormsData:=False, SaveAsAOCELetter:= _
False
Set DiskStr = Nothing
wordApp.Application.Documents.Close
wordApp.Application.Quit
End Function
运行第一次正常,接着运行第二次的时候到
ChangeFileOpenDirectory DiskStr
这里就出现462错误!???
请问怎么弄啊!!!