Application.WorkOffline method (Project)

Opens or closes the connection to Project Server.

Syntax

expression. WorkOffline( _fOffline_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
fOffline Optional Boolean True closes the connection to Project Server. False opens the connection to Project Server.

Return value

Boolean

Remarks

Available in Project Professional only. If Project is started with an offline account, the WorkOffline method results in a run-time error 1100: "The method is not available in this situation."

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.