Skip to main content

Get Used Range

Excel·v1.11.1
ExcelWorksheetsReads files

Find where the data on a sheet starts and ends. Worked out from cells that hold something, so a cell that was formatted and then emptied does not count

Inputs

NameTypeRequiredDefaultDescription
Excel Instance
excelInstance
variableRequiredNot set
Sheet Name
sheetName
stringOptionalNot setLeave empty for the first sheet
Output Variable
outputVariable
variableOptionalUsedRange

Output

$outputVariableObject

Where the data is

  • RangeString
  • FirstRowNumber
  • LastRowNumber
  • NextRowNumber
  • FirstColumnNumber
  • LastColumnNumber
  • FirstColumnLetterString
  • LastColumnLetterString
  • RowCountNumber
  • ColumnCountNumber
  • IsEmptyBoolean

Compatibility

WindowsLinuxAttendedUnattended

Related activities