功能区中的Outlook自定义按钮

时间:2017-01-03 15:29:18

标签: vba outlook ribbon

我可以使用custum ui编辑器为Excel和Word VBA项目在功能区上添加XML自定义按钮。

我有一个Outlook项目(VBAProject.otm),并希望做同样的事情,向功能区添加按钮,以便在我部署自定义按钮时随之移动。

我不会使用VSTO,只使用VBA。

有什么建议吗?

1 个答案:

答案 0 :(得分:1)

与其他Office应用程序不同,Outlook VBA中的宏不能用于自定义功能区UI。您需要开发COM加载项(例如,基于VSTO的加载项)。看看以下文章:

Walkthrough: Creating a Custom Tab by Using the Ribbon Designer

Walkthrough: Creating a Custom Tab by Using Ribbon XML

Fluent UI(又名Ribbon UI)将在以下系列文章中进行深入介绍:

Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)

Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)

Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)

Full Credit to This Site