30+
years serving the scientific and engineering community
Log In
Buy Now
Try Origin for Free
Watch Videos
English
日本語
Deutsch
Toggle navigation
Products
PRODUCTS
Origin
OriginPro
Origin Viewer
All products
Origin vs. OriginPro
What's new in latest version
Product literature
SHOWCASE
Applications
User Case Studies
Video Tutorials
Graph Gallery
Animation Gallery
3D Function Gallery
FEATURES
2D&3D Graphing
Peak Analysis
Curve Fitting
Statistics
Signal Processing
Key features by version
LICENSING OPTIONS
Node-locked(fixed seat)
Concurrent Network (Floating)
Dongle
Academic users
Student version
Commercial users
Government users
Non-Profit users
Why choose OriginLab
Who's using Origin
What users are saying
Published product reviews
Online Store
Get a quote/Ordering
Find a distributor
Apps
Data Import
CSV Connector
Excel Connector
HTML Connector
HDF Connector
NetCDF Connector
Import NMR Data
Import PDF Tables
Google Map Import
Import Shapefile
More...
Graphing
Graph Maker
Correlation Plot
Paired Comparison Plot
Venn Diagram
Taylor Diagram
Volcano Plot
Kernel Density Plot
Chromaticity Diagram
Heatmap with Dendrogram
More...
Publishing
Graph Publisher
Send Graphs to PowerPoint
Send Graphs to Word
Send Graphs to PDF
Send Graphs to OneNote
Movie Creator
Graph Anim
More...
Curve Fitting
Simple Fit
Speedy Fit
Piecewise Fit
Fit ODE
Fit Convolution
Rank Models
Fitting Function Library
Neural Network Regression
Polynomial Surface fit
Global Fit with Multiple Functions
More...
Peak Analysis
Simple Spectroscopy
Peak Deconvolution
Pulse Integration
Align Peaks
Global Peak Fit
PCA for Spectroscopy
2D Peak Analysis
Gel Molecular Weight Analyzer
More...
Statistics
SPC
DOE
Stats Advisor
PCA
RDA
Bootstrap Sampling
Time Series Analysis
Factor Analysis
General Linear Regression
Logistic Regression
SVM Classification
More...
How do Apps work in Origin?
Suggest a New App
Purchase
New Orders
Renew Maintenance
Upgrade Origin
Contact Sales(US & Canada only)
Find a Distributor
Licensing Options
Node-locked(fixed seat)
Concurrent Network (Floating)
Dongle
Academic users
Student version
Commercial users
Government users
Non-Profit users
Why choose OriginLab
Purchasing FAQ
Support
SERVICES
Transfer Origin to new PC
License/Register Origin
Consulting
Training
Renew Maintenance
SUPPORT
Support FAQ
Help Center
Contact Support
Support Policy
DOWNLOADS
Service Releases
Origin Viewer
Orglab Module
Product Literature
Origin Trial
All downloads
VIDEOS
Installation and Licensing
Introduction to Origin
All video tutorials
DOCUMENTATION
User Guide
Tutorials
Python Programming
OriginC Programming
LabTalk Programming
All documentation
Communities
User Forum
User File Exchange
About Us
OriginLab Corp.
News & Events
Careers
Distributors
Contact Us
Contact Us
Log In
Python Code Samples
>
Worksheet
All Books
Non-Programming Books
User Guide
Tutorials
Quick Help
Origin Help
Programming Books
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
Apps
App Development
Code Builder
License
Orglab
8.1.26 Worksheet
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.
Name
Worksheet
Remark
Hierarchy
OriginObject
Layer
Datasheet
Worksheet
Property
Name
Brief
Example
Columns
Read-only property. Return the columns collection.
Examples
Members
Name
Brief
Example
Copy
Copy a block of data from the Worksheet on to the clipboard.
Examples
Columns
Access the Columns collection
Examples
GetColumns
Return the columns collection.
Examples
GetData
Get data from a specified worksheet
Examples
DeleteCol
Delete column
Examples
DeleteRow
Delete row
Examples
ExportASCII
Export data as ASCII
Examples
GetBounds
Get the minimum beginning and maximum ending row indices for the specified columns in this Worksheet.
Examples
GetColFormats
Gets the column formats of all the columns in the worksheet
Examples
GetIndex
Get the index of the worksheet
Examples
GetLabelVisible
Show or hide some labels on worksheet
Examples
GetSelectedColumns
Fill a vector with column indexes where column is completely or partially selected
Examples
GetUserDefLabel
Get the user defined label
InsertCol
Insert an empty column in the worksheet with the given name and store the name in a string. If the given name already exists then increment it. The actual name created is returned by reference
Examples
InsertRow
Insert row in the worksheet
Examples
MergeCells
To merge cells
Examples
SetColDesignations
Set the column designations
Examples
SetColFormats
Sets the column formats in a worksheet
Examples
SetData
Set Data for worksheet
Examples
SetLabelVisible
Set the Label visible
Examples
SetLowerBound
Set the Lower bound for worksheet
Examples
SetScript
Worksheet script setting
Examples
SetUpperBound
Set the upper row display index of the Worksheet.
Examples
SetUserDefLabel
Set the user defined label
ShowCol
Show the specific columns
Examples
ShowLabels
Show [Hide] column labels
Examples
Datasheet Members
Name
Brief
Example
Cell
Get the value at the location (Row, Col) in the Datasheet
Examples
ClearData
Clear worksheet of data and reduce number of rows (or optionally NOT reduce)
Examples
FindCol
Get the number of columns in active worksheet.
Examples
GetColCount
Get the number of columns in active worksheet.
Examples
GetRowCount
Get the number of rows in active worksheet.
Examples
SetCell
Set the numeric value of a cell in the DataSheet
Examples
SetColCount
Set the number of columns in the DataSheet
Examples
SetRowCount
Set the number of rows in the DataSheet
Examples
TCell
Get the string value of a cell in the DataSheet
Examples
Transpose
Transpose a Datasheet
Examples
Layer Members
Name
Brief
Example
GetGraphObjects
Return the graph objects collection.
Examples
GetPage
Get the parent Page object that contains the laye
Examples
GraphObjects
Get the graph object in graph layer
Examples
OriginObject Members
Name
Brief
Example
Destroy
Destroy the Origin object
Examples
DoMethod
Execute object LabTalk methods
Examples
GetBinaryStorage
Get a binary storage as a tree
GetComments
Retrieve the comments from an object that supports Comments
Examples
GetIndex
Get the index of an object in a Collection
Examples
GetLongName
Get the long name of an object
Examples
GetName
Get the short name of an object
Examples
GetNumProp
Get object property via LabTalk property name
Examples
GetShow
Get the show status of an object
Examples
GetStorageNames
Get names of storage class objects
GetStrProp
Get object property via LabTalk property name
Examples
GetTheme
Get the theme as treenode
Examples
LT_execute
Execute the Labtalk script code.
Examples
SetComments
Sets the comments with a text string to an object that supports Comments
Examples
SetIndex
Set the index of an object in a Collection
Examples
SetLongName
Set the long name of an object
Examples
SetName
Set the short name of an object
Examples
SetNumProp
Set object property via LabTalk property name
Examples
SetShow
Set the show status of an object
Examples
SetStrProp
Set object property via LabTalk property name
Examples
SetTheme
Set the theme as treenode
OriginBase Members
Name
Brief
Example
IsValid
Check whether the instance is valid
Examples
Skip Navigation Links
All Books
Python
PyOrigin in Embedded Python
PyOrigin Classes
Worksheet
User Guide
Tutorials
Quick Help
Origin Help
X-Function
Origin C
LabTalk Programming
Python
Python (External)
Automation Server
LabVIEW VI
Apps
App Development
Code Builder
License
Orglab
Programming
Embedded Python
Installing and Managing Python Packages
Running Python Code
Using Python in Tools and Dialogs
Python Code Samples
Sample Projects with attached Python Code
Documentation for originpro package
PyOrigin in Embedded Python
PyOrigin Classes
PyOrigin Global Functions
ColorMap
Column
DataObject
DataObjectBase
DataPlot
DataRange
Datasheet
ExternalDialogPage
Folder
GraphLayer
GraphObject
GraphPage
Layer
LayoutPage
MatrixObject
MatrixPage
Matrixsheet
NotePage
OriginBase
OriginCollectionBase
OriginObject
Page
PageBase
ProjectInfo
TreeNode
Worksheet
WorksheetPage
Worksheet::Columns
Worksheet::Copy
Worksheet::DeleteCol
Worksheet::DeleteRow
Worksheet::ExportASCII
Worksheet::GetBounds
Worksheet::GetColFormats
Worksheet::GetColumns
Worksheet::GetData
Worksheet::GetIndex
Worksheet::GetLabelVisible
Worksheet::GetSelectedColumns
Worksheet::GetUserDefLabel
Worksheet::InsertCol
Worksheet::InsertRow
Worksheet::MergeCells
Worksheet::SetColDesignations
Worksheet::SetColFormats
Worksheet::SetData
Worksheet::SetLabelVisible
Worksheet::SetLowerBound
Worksheet::SetScript
Worksheet::SetUpperBound
Worksheet::SetUserDefLabel
Worksheet::ShowCol
Worksheet::ShowLabels
English
|
Deutsch
|
日本語
© OriginLab Corporation. All rights reserved.
×
☐
_
Let's Chat