Mega Code Archive

 
Categories / VisualBasic Script / Application
 

Determined the Id property of the Help menu by executing the following statement

Sub com()     MsgBox CommandBars(1).Controls("Help").ID End Sub