Get a Row

Gets a row from an Excel worksheet that contains a specific value.

Overview

This procedure locates and retrieves a row in an Excel worksheet that contains a specific value. A column or a row number can be specified to identify the row.

Prerequisite Data

These required data elements must be present in the automation before using the procedure.

Data Name
Data Type

the worksheet

Excel Worksheet

Syntax

Below is a line-by-line overview of the automation syntax. Expand each line to learn more.

get the worksheet's row

What does it do?

Retrieves a specific row from a worksheet using a reference to that worksheet.

Where does it go?

This phrase should be written on a new line.

Is it required?

✅ Yes — This phrase is required in the syntax.

Does it require input data?

⛔ No — This phrase does not require input data.

the row number is

What does it do?

Specifies a row number to locate the row.

Where does it go?

This phrase should be indented beneath get the worksheet's row.

Is it required?

🌟 No — This phrase is optional in the syntax.

Does it require input data?

✅ Yes — A Number value should be specified.

the column label is

What does it do?

Specifies a column label to identify the row. Must be used in conjunction with specifying the cell value.

Where does it go?

This phrase should be indented beneath get the worksheet's row.

Is it required?

🌟 No — This phrase is optional in the syntax.

Does it require input data?

✅ Yes — A Text value should be specified.

the cell value is

What does it do?

Specifies a cell value to identify the row. Must be used in conjunction with specifying the column label.

Where does it go?

This phrase should be indented beneath get the worksheet's row.

Is it required?

🌟 No — This phrase is optional in the syntax.

Does it require input data?

✅ Yes — A Text value should be specified.

Examples

1. Get a Row by Specifying a Row Number

get the worksheet's row
    the row number is 23

2. Get a Row by Specifying a Column Label and Cell Value

get the worksheet's row
    the column label is "AB"
    the cell value is "Total:"

Last updated

Was this helpful?