Skip to main content

Clear Range

Excel·v1.11.1
ExcelEditingWrites files

Empty cells in place. Nothing below shifts up, so formulas pointing at those rows still point at them

Inputs

NameTypeRequiredDefaultDescription
Excel Instance
excelInstance
variableRequiredNot set
Sheet Name
sheetName
stringOptionalNot setLeave empty for the first sheet
Range
range
stringRequiredNot setThe cells to clear, such as A2:D500
Clear
what
enumOptionalvalues
valuesformatsnotesall

Compatibility

WindowsLinuxAttendedUnattended

Related activities