I've got an issue where calling CommandBars.ExecuteMso(msoName) on a system where the input language is Chinese throws an E_FAIL exception. As can be seen
here, this is because the string specified in msoName cannot be found or is invalid.
In my instance, the msoName values are "EquationInsertNew" and "EquationProfessional". A full list of possible values can be seen
here.
I've tried converting the string to CultureInvariant, en-US and CurrentCulture, but it is not working.
Any ideas how to call ExecuteMso when the system input is Chinese?