Protection Property (VBA Add-In Object Model)

Microsoft VBA

Protection Property

           

Returns a value indicating the state of protection of a project. Read-only.

Return Values

The Protection property return values are:

Constant Description
vbext_pp_locked The specified project is locked.
vbext_pp_none The specified project isn't protected.