序号L8u检测VBA |
参数L8u检测VBA |
中文L8u检测VBA |
0L8u检测VBA |
wdDoNotSaveChangesL8u检测VBA |
不保存待定的更改。L8u检测VBA |
-2L8u检测VBA |
wdPromptToSaveChangesL8u检测VBA |
提示用户保存待定更改。L8u检测VBA |
-1L8u检测VBA |
wdSaveChangesL8u检测VBA |
自动保存待定更改,而不提示用户。L8u检测VBA |
' 关闭活动文档(保存)L8u检测VBA
ActiveDocument.Close savechanges: = wdSaveChangesL8u检测VBA
L8u检测VBA
' 关闭活动文档(不保存)L8u检测VBA
ActiveDocument.Close savechanges: = wdDoNotSaveChangesL8u检测VBA
L8u检测VBA
'关闭单个文档,并保存变化:L8u检测VBA
Documents("文档名称").Close savechanges: = wdsavechangesL8u检测VBA
L8u检测VBA
'不保存更改的情况下关闭所有文档:L8u检测VBA
Documents.Close savechange: = wdDonotsavechangesL8u检测VBA
L8u检测VBA
'在每个文档关闭之前提示用户保存文档:L8u检测VBA
Dim doc As DocumentL8u检测VBA
For Each doc In DocumentsL8u检测VBA
doc.Close savechanges: = wdpromptTosavechangesL8u检测VBA
Next docL8u检测VBA
L8u检测VBA |