get_range_by_name method

get_range_by_name

Gets Range object by pre-defined name.

Returns

Range object.

Returns null if the named range does not exist.

def get_range_by_name(self, range_name):
    ...
ParameterTypeDescription
range_namestrName of range.

get_range_by_name

Gets Range by pre-defined name or table’s name

Returns

def get_range_by_name(self, range_name, current_sheet_index, include_table):
    ...
ParameterTypeDescription
range_namestrName of range or table’s name.
current_sheet_indexintThe sheet index. -1 represents global .
include_tableboolIndicates whether checking all tables.

See Also