Similar to "Excel vba to reopen Excel file without saving"
Sub ReOpen()
Application.DisplayAlerts = False
Workbooks.Open ActiveWorkbook.Path & "\" & ActiveWorkbook.Name
Application.DisplayAlerts = True
End Sub
How do I do this with MS Word?
Sub ReOpen()
Dim Ffn As String ' full file name
With ActiveDocument
Ffn = .FullName
.Close SaveChanges:=wdDoNotSaveChanges
End With
Documents.Open Ffn
End Sub
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.