Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Quits Project.
Syntax
expression. FileExit( _Save_ )
expression A variable that represents an Application object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| Save | Optional | Long | Can be one of the PjSaveType constants. The default value is pjPromptSave for new project files and projects that have changed since the last save. |
Return value
Boolean
Example
The following example saves and closes the active project, and then exits the Project application.
Sub SaveAndCloseActiveProject()
FileExit pjSave
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.