Excel Get Last Row VI
- Updated2024-07-30
- 4 minute(s) read
Retrieves the coordinates of the last row in an Excel worksheet. Use the MS Office parameters input to append the contents of the row to a report.

Inputs/Outputs
report in
—
report in is a reference to the report whose appearance, data, and printing you want to control. Use the New Report VI to generate this LabVIEW class object.
offset
—
offset specifies the number of rows by which you want to offset the output in MS Office parameters. The default is 0.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
MS Office parameters
—
MS Office parameters specifies the point in a Microsoft Word or Excel report where you want an insertion to occur. The VI ignores this input for HTML and standard reports. You can specify a bookmark in Word or a named range or cell coordinates in Excel. If you set the report type to Word but do not specify a bookmark, the insertion occurs at the end of the document.
report out
—
report out is a reference to the report whose appearance, data, and printing you want to control. You can wire this output to other Report Generation VIs.
error out
—
error out contains error information. This output provides standard error out functionality.
MS Office parameters out
—
MS Office parameters out contains the MS Office parameters input values and the contents of the row.
|
report in
—
offset
—
error in (no error)
—
MS Office parameters
—
position (excel)
—
name (excel)
—
report out
—
error out
—
MS Office parameters out
—
position (excel)
—
row
—
name (excel)
—