Get the Number of Rows and Columns#

Gets the number of used rows and columns in an Excel document.

Document Link[Link] Link to the document currently being worked on. The variable name in this property must match the variable name in the "Document Link" property of the "Create Document" or "Open Document" blocks from the Excel group that were previously used to create or open this document.
Sheet[Number/Text] ID (ordinal number) or name of the sheet where the required cell is located. Numbering starts from 1.
Row[Number] The row number for counting the number of columns in it. Numbering starts from 1. If the value is not specified, the count will include all rows.
Column[Number] The column number for counting the number of rows in it. Numbering starts from 1. If the value is not specified, the count will include all columns.
Include EmptyIf enabled, empty cell values will be included when counting the number of rows and/or columns.
Include HiddenIf enabled, hidden rows or columns will be included when counting the number of rows and/or columns.
Number of Columns[Number] Returns the number of used columns.
Number of Rows[Number] Returns the number of used rows.
Error Handling Level

Select the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during operation. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - outputs main information;
  • "Detailed" - outputs detailed information.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.