CodePaneView Property

Applies To

CodePane object.

Description

Returns a value indicating whether the code pane is in Procedure view or Full Module view. Read-only.

Return Values

The CodePaneView property return values are:

Constant

Description

vbext_cv_ProcedureView

The specified code pane is in Procedure view.

vbext_cv_FullModuleView

The specified project is in Full Module view.


Example

The following example uses the CodePaneView property to return a value indicating whether the specified code pane is in Procedure view or Full Module view.

Debug.Print Application.VBE.CodePanes(3).CodePaneView