Application.CleanupProjectFromCache method (Project)

Deletes the specified project file from the local cache. Available only in Project Professional.

Syntax

expression. CleanupProjectFromCache( _FileName_ )

expression An expression that returns an Application object.

Parameters

Name Required/Optional Data type Description
FileName Optional String Name of the project file to delete from the cache.

Return value

Boolean

Remarks

Use the CleanupProjectFromCache method if you suspect the project in the local cache is corrupted. If FileName is omitted, CleanupProjectFromCache does nothing.

Example

CleanupProjectFromCache("Sample.mpp")

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.