public static function rangeDimension($pRange = 'A1:A1')
    {
        // Calculate range outer borders
        list($rangeStart, $rangeEnd) = self::rangeBoundaries($pRange);

        return array( ($rangeEnd[0] - $rangeStart[0] + 1), ($rangeEnd[1] - $rangeStart[1] + 1) );
    }
public static function rangeDimension($pRange = 'A1:A1')
    {
        // Calculate range outer borders
        list($rangeStart, $rangeEnd) = self::rangeBoundaries($pRange);

        return array( ($rangeEnd[0] - $rangeStart[0] + 1), ($rangeEnd[1] - $rangeStart[1] + 1) );
    }
public static function rangeDimension ( $ pRange = 'A1:A1' ) { // Calculate range outer borders list ( $ rangeStart , $ rangeEnd ) = self :: rangeBoundaries ( $ pRange ) ; return array ( ( $ rangeEnd [ 0 ] - $ rangeStart [ 0 ] + 1 ) , ( $ rangeEnd [ 1 ] - $ rangeStart [ 1 ] + 1 ) ) ; }
Calculate range dimension

@param    string    $pRange        Cell range (e.g. A1:A1)
@return    array    Range dimension (width, height)
Calculate range dimension