是否记录了 ExecuteMso 的命令代码? [英] Are the command codes for ExecuteMso documented?

查看:32
本文介绍了是否记录了 ExecuteMso 的命令代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

MS Office 应用程序有一个

  • Office 2013:Office Fluent 用户界面控件标识符

  • 进一步查看 http://www.rondebruin.nl/win/s2/win003.htm

    MS Office apps have an incredible API that lets one execute any command that is accessible from the UI, but inaccessible from the Object Model. Specifically, you can use ExecuteMso() to execute any command button, toggle button or split button. The docs say:

    expression.GetEnabledMso(idMso)

    idMso - Identifier for the control (String)

    Are the string command codes documented anywhere? Office apps have thousands of unique commands that can be viewed in the Options dialog, and it would be nice to have a reference of the string codes for all of these.

    解决方案

    There are these:

    And see further http://www.rondebruin.nl/win/s2/win003.htm

    这篇关于是否记录了 ExecuteMso 的命令代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆