i want to do as follow
when i click Command1 it has to show dropdown menu of toolbar button
** i have only 1 button and dropdown menu button is associated with it..**
VB Code:
  1. Dim hell As MSComctlLib.Button
  2. Private Sub Command1_Click()
  3. 'Set hell = "Hello"          '''' Hello is the name of button on which drop menu is associated
  4. Call Toolbar1_ButtonDropDown(hell)
  5. End Sub
  6.  
  7. Private Sub Toolbar1_ButtonDropDown(ByVal Button As MSComctlLib.Button)
  8.  
  9. End Sub
  10.  
  11. Private Sub Toolbar1_ButtonMenuClick(ByVal ButtonMenu As MSComctlLib.ButtonMenu)
  12. Select Case ButtonMenu
  13. Case "kOiz"
  14. MsgBox "OK"
  15. End Select
  16. End Sub