April 2006
Beginner
1114 pages
98h 16m
English
commandbar.ShowPopup([x], [y])
Displays a context menu bar at the specified coordinates. Causes an error if the command bar does not have a Type property of msoBarTypePopup.
|
Argument |
Settings |
|---|---|
|
|
The horizontal position of the menu in pixels |
|
|
The vertical position of the menu in pixels |
The following code pops up a context menu created earlier:
Sub ShowMenu( )
CommandBars("ContextMenu1").ShowPopup 100, 200
End SubRead now
Unlock full access