Example Applies To
Returns the Panes collection for the specified worksheet. Read-only.
For information about returning a single member of a collection, see Returning an Object from a Collection.