J
jngi
Tom
How do you know, or where do you find, the ID number?
J
How do you know, or where do you find, the ID number?
J
Ron de Bruin said:Try this
http://support.microsoft.com/default.aspx?scid=kb;EN-US;213552
XL2000: List of ID Numbers for Built-In CommandBar Controls
http://support.microsoft.com/default.aspx?scid=kb;en-us;213211&Product=xlw
XL2000: Sample Macros to Return ID for a CommandBar Control
Tom Ogilvy said:Sub Macro2()
Debug.Print _
CommandBars("Drawing").Controls("D&raw") _
.Controls("&Snap").Controls("To &Grid").ID
End Sub
or
Sub Macro2()
MsgBox _
CommandBars("Drawing").Controls("D&raw") _
.Controls("&Snap").Controls("To &Grid").ID
End Sub
But Ron de Bruin also posted a link to some KB articles that list ID numbers
of the controls.