8.1.26.15 Worksheet::InsertRow

It is recommended that you switch to the originpro package. PyOrigin is primarily for users who need to work with Origin version prior to 2021.

Description

Insert row in the worksheet

Syntax

InsertRow(Pos)

Parameters

Pos
Column number with zero offset

Return

Returns True on successful and False on failure.

Examples

#insert new row at index=3
import PyOrigin
wks=PyOrigin.WorksheetPages('Book1').Layers(0)
wks.InsertRow(3)