Upravit

Sdílet prostřednictvím


Application.ShowStatusBar property (Visio)

Determines whether the status bar is shown. Read/write.

Syntax

expression.ShowStatusBar

expression A variable that represents an Application object.

Return value

Integer

Remarks

The ShowStatusBar property persists each time you run the application. The ShowToolbar property is valid for a Microsoft Visio instance only.

Example

This Microsoft Visual Basic for Applications (VBA) macro shows how to hide and show the status bar.

Public Sub ShowStatusBar_Example() 
 
 'Switch the status bar on or off. 
 Application.ShowStatusBar = Not Application.ShowStatusBar 
 
End Sub

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.