R Ron de Bruin Jun 18, 2004 #2 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
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
T Tom Ogilvy Jun 18, 2004 #3 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.
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.
T Tom Ogilvy Jun 18, 2004 #4 MS changed some of the ID numbers between xl97 and xl2000, so here is a reference to the xl97 verions http://support.microsoft.com/?id=159466 Q159466 - XL97: List of ID Numbers for Built-In Command Bar Controls http://support.microsoft.com/?id=162814 Q162814 - XL97: Sample Macros to Return ID for a CommandBar Control
MS changed some of the ID numbers between xl97 and xl2000, so here is a reference to the xl97 verions http://support.microsoft.com/?id=159466 Q159466 - XL97: List of ID Numbers for Built-In Command Bar Controls http://support.microsoft.com/?id=162814 Q162814 - XL97: Sample Macros to Return ID for a CommandBar Control
G Guest Jun 18, 2004 #5 Excellent fellows! Muchos gracias! 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 Click to expand...
Excellent fellows! Muchos gracias! 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 Click to expand...
G Guest Jun 18, 2004 #6 Excellent fellows! Muchos gracias! J 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. Click to expand...
Excellent fellows! Muchos gracias! J 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. Click to expand...