CodePanes Collection (VBA Add-In Object Model)

Microsoft VBA

CodePanes Collection

                   

Contains the active code panes in the VBE object.

Remarks

Use the CodePanes collection to access the open code panes in a project.

You can use the Count property to return the number of active code panes in a collection.