D
Dennis Brown
Hi All,
If I use CommandBars("Formatting").Controls("Italic").State
Is there a means of using the numerical values of "Bold", "Italic", and "Underlined" within Controls("Italic") function? If I use the string, then the I'll need to put it as a constant, and that constant will need to be localized by users in other languages. If I use the ID#, then that step would not be necessary. I know how to retrieve the id, but if I can hard-code it in, that would be one less object call, but I can't determine from the Outlook object browser if the Controls function has a means of accepting integers.
If I use CommandBars("Formatting").Controls("Italic").State
Is there a means of using the numerical values of "Bold", "Italic", and "Underlined" within Controls("Italic") function? If I use the string, then the I'll need to put it as a constant, and that constant will need to be localized by users in other languages. If I use the ID#, then that step would not be necessary. I know how to retrieve the id, but if I can hard-code it in, that would be one less object call, but I can't determine from the Outlook object browser if the Controls function has a means of accepting integers.