关于word 关闭后保存路径的问题(急,多谢)
我想在word打开修改后关闭word时,自动保存到一个固定目录里,如c:\word\
文件名为wordapplication.caption 的值,请问savechanges ,originalformat,routedocument 相应值如何设定???多谢!
我原来的写法:
savechanges := wddonotsavechanges;
originalformat := unassigned;
routedocument := unassigned;
try
wordapplication.quit(savechanges, originalformat, routedocument);
wordapplication.disconnect;