Parent Property [WksCellFormat]

Parent property returns the parent range of this CellFormat object. Returns aWksRange object. This is a read-only property.

Syntax

object.Parent

Example

This example demonstrates how to return the how many columns are in the range object.

Debug.Print WksCellFormat.Parent.ColumnCount

Used by: WksCellFormat object