Outlook 2007 ribbon customization in .NET using VS2010; insertBeforeMso dynamic function
问题 Could anyone help me get the first tab idMso value of an opened Outlook item window? I need to dynamically set it in a ribbon xml file, since I figured out it would be redundant to add each item window into the xml code. If anyone has an existing solution to share, that would be great. Thanks 回答1: Solved it :) Just edit the return string from the GetCustomUI on runtime, but trap the explorer item first Public Function GetCustomUI(ByVal ribbonID As String) As String Implements Office