Table of contents
TOC
Collapse the table of content
Expand the table of content

CommandBar.Left Property (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Sets or gets the horizontal distance (in pixels) of the CommandBar from the left edge of the object relative to the screen. Read/write.

Note The use of CommandBars in some Microsoft Office applications has been superseded by the new ribbon component of the Microsoft Office Fluent user interface. For more information, search Help for the keyword "ribbon."

Syntax

expression. Left

expression Required. A variable that represents a CommandBar object.

Example

This example moves the command bar named Custom from its docked position along the top of the window to the left edge of the window.

Set myBar = CommandBars("Custom") 
With myBar 
    .Position = 1 
    .RowIndex = 2 
    .Left = 0 
End With

See also

Concepts

CommandBar Object

Other resources

CommandBar Object Members

© 2018 Microsoft