Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
848 views
in Technique[技术] by (71.8m points)

c# - Are the command codes for ExecuteMso documented?

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.

office commands

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...