Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Parameters of the Microsoft Excel connector methods

Learn about the parameters of the Microsoft Excel connector methods in RPA Desktop Design Studio.

Parameter NameDescriptionMandatory?
CellNameCell name in a Microsoft Excel worksheet to perform an operation. 
ApproximateMatchBoolean option to find an exact or an approximate match.Not applicable
CellLocationCell location in a Microsoft Excel worksheet to perform an operation.Yes
CellRangeSet of one or more continuous cells in a worksheet.Example: A cell range of B2:E4 represents the cells from columns B through E and rows 2 through 4.Yes
SheetNameName of the sheet from where the data is taken to create a chart.Yes
ChartTypeType of chart you can create in a Microsoft Excel such as an area, bar, line, and pie.Yes
ColorColor to set on a cell. 
SheetNameName of the sheet from where the data is taken to create a Pivot table. 
SheetNameName of the sheet from which the rows will be deleted.Yes
SheetNameName of the sheet from where the empty columns will be deleted.Yes
ColumnIndexIndex number of the column.Note: Index number must be greater than zero.Yes
ColumnNameColumn name in a Microsoft Excel worksheet from which values are to be obtained.Yes
CreateNewFileBoolean values to indicate whether you want to create a file. If you choose - True: You must provide the filepath including the new file name. - False: You are not creating a file.No
Return \(Integer\)Returns the Boolean response on whether the column was deleted.Not applicable
DisplayAlertsOption to display alerts when the file is opened. If you choose:- True: Alert is displayed. - False: Alerts are not displayed.No
ReturnReturns the Boolean value that indicates whether a file was open or created.- True: A file was opened or created. - False: No file was opened or created.Not applicable
DistinctOption to get only unique values. Set to True to get only distinct values or to False to get all values from a cell range. 
EndColumnNameName of the last column in a set of columns.Yes
EndRowIndexLast row number in a set of rows in a Microsoft Excel worksheet for a bulk operation such as to search, set values, or get values.Yes
FileNameName of the Microsoft Excel file.Yes
FilepathPath to the file including the file name. This parameter is used for both opening existing files or creating new files.Yes
FilepathPath where the exported PDF will be saved. You must provide the name of the file followed by the PDF extension.Yes
FillTypeOne of the following fill types values: - xlFillFormats: Copy only the formats from the source range to the target range, and repeat if necessary. - xlFillSeries: Extend the values in the source range into the target range as a series \(for example, '1, 2' is extended as '3, 4, 5'\). Formats are copied from the source range to the target range, and repeat if necessary. - xlFillValues: Copy only the values from the source range to the target range, and repeat if necessary. - xlFillCopy: Copy the values and formats from the source range to the target range, and repeat if necessary. - xlFillDays: Extend the names of the days of the week in the source range into the target range. Copy the formats from the source range to the target range, and repeat if necessary. - xlFillWeekdays: Extend the names of the days of the workweek in the source range into the target range. Copy the formats from the source range to the target range, and repeat if necessary. - xlFillMonths: Extend the names of the months in the source range into the target range. Copy the formats from the source range to the target range, and repeat if necessary. - xlFillYears: Extend the years in the source range into the target range. Copy the formats from the source range to the target range, and repeat if necessary. - xlGrowthTrend: Extend the numeric values from the source range into the target range, assuming that the relationships between the numbers in the source range are multiplicative \(for example, '1, 2,' is extended as '4, 8, 16' assuming that each number is a result of multiplying the previous number by some value\). Copy the formats from the source range to the target range, and repeat if necessary. - xlLinearTrend: Extend the numeric values from the source range into the target range, assuming that the relationship between the numbers is additive \(for example, '1, 2,' is extended as '3, 4, 5' assuming that each number is a result of adding some value to the previous number\). Copy the formats from the source range to the target range, and repeat if necessary.Yes
FilterValueFilter expression that consists of alphanumeric characters and one or more of the following operators: <, >, \\, &, \|, and =.Yes
FindTextText to search in a Microsoft Excel worksheet.Yes
StartColumnNameName of the first column in a set of columns.Yes
FirstRowAsHeaderOption to indicate whether the first row in a Microsoft Excel worksheet is a header row.Yes
FormatTypeFormat type that is supported in a Microsoft Excel.Example: Currency, Number, Long DateYes
FormulaFormula to be applied on a cell in a Microsoft Excel file.Yes
HeightHeight of a row in pixels.Yes
HorizontalAlignmentHorizontal alignment formatting of the specified cells.Example: Left, Right, Center, JustifyYes
IsVisibleBoolean value to indicate whether the file will be visible when it's open. If you choose:- True: The file is displayed. - False: The file is not displayed.No
IncludeHeadersOption to include the header row while getting a used cell range in a Microsoft Excel.No
LookupRangeRange of columns of data.The values in the first column of the range are the values searched.Yes
OldSheetNameCurrent name of the worksheet in a Microsoft Excel file that you want to rename.Yes
MacroNameName of the macro to run.Yes
NewSheetNameNew name of the worksheet in a Microsoft Excel fileYes
PasswordPassword to open a protected file.No
PivotTableNameName of the new PivotTable. 
ReadOnlyModeBoolean value to indicate whether the file will be opened or created in read-only mode. If you choose:- True: The file is opened or created in read-only mode. - False: The file is opened or created in write mode.No
DestinationRangeThe range of cells to be filled in the Microsoft Excel file.Yes
ReplaceToText with which to replace the found text in a Microsoft Excel worksheet.Yes
RowIndexIndex value of a row.Yes
RowNumberRow number in a Microsoft Excel worksheet to perform an operation.Yes
SaveFolderpathFolder path to save the file.Yes
SearchColumnColumn name in a Microsoft Excel worksheet where to search the specified text.Yes
Return \(String\)Returns the name of the active or selected sheet.Not applicable
SheetNameName of the sheet that will be deleted.Yes
SheetNameName of the sheet from where data will be exported.Yes
SheetNameThe name of the sheet where the data will be filled.Yes
SearchTextText to search in a Microsoft Excel worksheet.Yes
saveChangesBoolean values to indicate whether the changes will be saved while closing.- True: The method requests inputs on whether to save changes. - False: The method closes the file and unsaved changes, if any, are lost.Yes
SheetNameName of the worksheet added to the file.Yes
SheetNameName of the sheet where the formula will be applied. 
SheetNameName of the sheet from where the column will be deleted.Yes
SortingOrderSorting order—ascending or descending—set on a column. 
SheetNameName of the sheet from where the row will be deleted.Yes
SheetNameName of the sheet from where the cell data will be deleted.Yes
StartRowIndexFirst row number in a set of rows in a Microsoft Excel worksheet for a bulk operation, such as to search, set values, get values.Yes
SheetnameName of the sheet from where the cells will be copied.Yes
ReturnReturns the integer value of the number of columns counted.Not applicable
SheetNameName of the sheet on which the column count will be performed.Yes
ValueValue to be set on a cell.Yes
VerticalAlignmentVertical alignment formatting of the specified cells.Example: Top, Middle, BottomNo
WidthWidth of a column in a Microsoft Excel.Yes
PasswordOption to make the Excel file password-protected. Provide the password in string format.No

Enter inputs for parameters

To enter inputs for the parameters, see Configure port properties.

Parent Topic:Microsoft Excel