【发布时间】:2012-05-17 18:34:27
【问题描述】:
我不确定这是否可以通过编程方式解决,但我在使用 Outlook 插件时遇到了以下问题。重现:
1) Create a new Outlook add in
2) Add a ribbon to the solution
3) Set the RibbonType to Microsoft.Outlook.Mail.Compose
4) Run the solution
5) Open a workbook in Excel
6) Click File > Save and Send > Send as Attachment > Then send or close the mail
7) Click file Save As - The dialog box appears behind the excel window.
作为附件发送窗口关闭后,您将无法访问 excel 中的任何对话框。
有人对此错误有修复或有意义的解决方法吗?
【问题讨论】:
-
其他人可以复制这个吗?
-
你试过'Application.DisplayAlerts = False'吗?
标签: excel outlook vsto outlook-addin