类似于“Excel vba重新打开Excel文件而不保存”
Sub ReOpen()
Application.DisplayAlerts = False
Workbooks.Open ActiveWorkbook.Path & "\" & ActiveWorkbook.Name
Application.DisplayAlerts = True
End Sub
如何使用MS Word执行此操作?
答案 0 :(得分:0)
Sub ReOpen()
Dim Ffn As String ' full file name
With ActiveDocument
Ffn = .FullName
.Close SaveChanges:=wdDoNotSaveChanges
End With
Documents.Open Ffn
End Sub