expression.IsCompiled
expression Required. An expression that returns one of the objects in the Applies To list.
Remarks
The IsCompiled property is available only by using Visual Basic.
The IsCompiled property returns True if the project is in a compiled state.
The IsCompiled property of the Application object is False when the project has never been fully compiled, if a module has been added, edited, or deleted after compilation, or if a module hasn't been saved in a compiled state.