Datasheet::TCell

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

Get the string value of a cell in the Datasheet

Syntax

Cell(Row, Col)

Parameters

Row
The row number of the cell
Col
The column number of the cell

Return

The string in cell

Examples

EX1

#Create Book1 with one sheet with 3column and 5row, set some numbers in sheet
import PyOrigin
wks=PyOrigin.FindWorksheet('Book1')
#Get the string in cell
print('the number in col(3)[2] is %s' % wks.TCell(1,2))