CommandBars.ReleaseFocus Method
Office Developer Reference |
Releases the user interface focus from all command bars.
Note |
---|
The use of CommandBars in some Microsoft Office applications has been superseded by the new Ribbon user interface. For more information, search help for the keyword "Ribbon." |
Syntax
expression.ReleaseFocus
expression A variable that represents a CommandBars object.
Example
This example adds three blank buttons to the command bar named Custom and sets the focus to the center button. The example then waits five seconds before releasing the user interface focus from all command bars.
Visual Basic for Applications |
---|
|
See Also