如果用户打开一个RTF文档,然后执行save-as,我想要捕获一个事件,这样我就可以检查为save选择的文件名,并禁用在扩展名不是.RTF的情况下调用我的外接程序的按钮。发生之前触发的,而不是在save-as发生之后。对于VSTO Word外接程序,是否有在save-as事件之后触发的事件,该事件在我的带类中是可捕获的,它将提供为save-as选择的文件的名称。, handle the save-as myself.Cancel the save-as (since I just han
You should use Save-As and create a new file.You should use Save-As and create a new file.You should use Save-As and create a new file.You should use Save-As and create a new file.