Project.IsCheckoutMsgBarVisible property (Project)
Gets whether the checkout message bar is visible. Read-only Boolean.
Syntax
expression. IsCheckoutMsgBarVisible
expression A variable that represents a Project object.
Remarks
The checkout message bar is the yellow information bar near the top of the Project window that shows READ-ONLY This project was opened in read-only mode, and contains a Check Out button. The IsCheckoutMsgBarVisible property is True if the checkout message bar is visible; otherwise, False.
Example
The following example tests whether the checkout message bar is visible; if so, it hides the message bar.
Sub TestHideCheckoutMessageBar()
If ActiveProject.IsCheckoutMsgBarVisible Then
ActiveProject.HideCheckoutMsgBar
End If
End Sub
Property value
BOOL
See also
IsCheckoutOSVisible HideCheckoutMsgBar Method CheckoutProject Method
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.