区分文件 - 在Project 2013中打印和实际打印按钮事件 [英] Differentiating File - Print and actual Print button event in Project 2013
问题描述
我正在为Project 2013构建一个加载项,需要捕获文件打印事件。
据我所知,唯一可用的事件处理程序是Application.ProjectBeforePrint和Project.BeforePrint,但两者似乎都在以下时间调用:
1.单击文件选项卡中的打印选项(这将显示用于选择打印机和设置等的屏幕。
2。单击打印按钮(这实际上将打印文档)
我只需要在单击打印按钮时捕获事件(上面的第2项)。
有没有人知道如何做到这一点?
谢谢!!!
Hi,
I'm currently building an add-in for Project 2013 and need to capture the file print event.
As far as I know, the only available event handlers are Application.ProjectBeforePrint and Project.BeforePrint, but both seems to get invoked when:
1. Clicking on the Print option within the File tab (this brings up the screen where you get to choose the printer, and settings, etc.
2. Clicking on the Print button (this will actually print the document)
I only need to capture the event when the Print button is clicked (item 2 above).
Does anyone have any idea on how this can be done?
Thanks!!!
推荐答案
这篇关于区分文件 - 在Project 2013中打印和实际打印按钮事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!