move_to_range method

move_to_range(self, top_row, left_column, bottom_row, right_column)

Moves the shape to a specified range.


def move_to_range(self, top_row, left_column, bottom_row, right_column):
    ...
ParameterTypeDescription
top_rowintUpper left row index.
left_columnintUpper left column index.
bottom_rowintLower right row index
right_columnintLower right column index

Example


shape.move_to_range(12, 3, 13, 5)

See Also