Item Method Example

The following example contains two ways to display a specific member of the CodePanes collection, one using the Item method.

Application.VBE.CodePanes.Item(2).Show
Application.VBE.CodePanes(2).Show