View this page in the latest version of Appian. Excel License Not Required Actions Share Share via LinkedIn Reddit Email Copy Link Print On This Page Overview Microsoft Excel is a widely used spreadsheet program available in most business settings. It's likely that you use Excel to complete a variety of tasks, such as data analysis, financial modeling, and project management, among others. With just a few clicks, Appian RPA can automate tedious and time-consuming tasks in Excel. This means the Excel: License Not Required module can read and write data within an Excel workbook for you. Because the strategy you use to interact with Excel depends on your purposes and the data involved, we've assembled guidance and tips to improve your design experience. Learn more about the many ways to use Excel with Appian, based on your goals. The Excel License Not Required module is compatible with the following Excel file types. Workbook (.xlsx) Excel 97-2003 Workbook (.xls) Macro-Enabled Workbook (.xlsm) Tip: You cannot use this module to create a Macro-Enabled Workbook (.xlsm) file. However, you can open an .xlsm file and work with it. Excel actions are listed in the Excel: License Not Required area of the palette. The actions described in this section do not need a licensed version of Excel on the host machine. Open or create workbook Close workbook Find range end Get value Get cell format Get worksheet names Save workbook as Select worksheet Write into worksheet Tip: You can't mix actions from the Excel: Licensed Not Required and Excel: License Required modules together. The technologies used in each module can't interact with the same workbook at the same time. Does your host machine have a licensed version of Excel? Then use the… No Excel: License Not Required module. Yes Excel: License Required module. The Excel: License Required module can complete more advanced actions and is better at managing large (in terms of file size or number of rows) Excel files. Note: The Excel: License Required module is only available on Windows machines. Example Open or create workbook This action opens an existing Excel workbook or creates a new workbook. Configuration In the CONFIGURATION area of the action pane, configure the following parameters: Workbook Action: Select from one of the following options. Depending on the workbook action you select, additional parameters display. Workbook Action Additional Parameters Open existing workbook File Path: This is the folder path and name of the Excel file, including its extension, to be opened. This field lets you enter a text string, choose a variable, or use the expression editor. Create new workbook Folder: This is the path to the folder where you want to save a new workbook. This field lets you enter a text string, choose a variable, or use the expression editor. File Name: This is the name of the new workbook you are creating. This field lets you enter a text string, choose a variable, or use the expression editor.File Type: This field identifies the Excel file type for the new workbook. Options include .xlsx, or .xls. This field only displays if you are creating a new workbook. After completion In the AFTER COMPLETION area of the action pane, configure the following parameters: Wait before executing next action (seconds): Enter the number of seconds the robotic task waits before it continues to the next action in the robotic task definition. Take a screenshot: If you select this option, the robotic task takes a screenshot of the host machine after the action completes. If the action failed, the screenshot is taken immediately before the exception is thrown and cleanup is started. If the action completed successfully, the screenshot is taken immediately after the action is performed. Close workbook This action closes the Excel workbook and can optionally save changes. Configuration In the CONFIGURATION area of the action pane, configure the following parameter: Save changes on close: If you select this checkbox, the robotic task saves the file when it closes. This checkbox is selected by default. After completion In the AFTER COMPLETION area of the action pane, configure the following parameters: Wait before executing next action (seconds): Enter the number of seconds the robotic task waits before it continues to the next action in the robotic task definition. Take a screenshot: If you select this option, the robotic task takes a screenshot of the host machine after the action completes. If the action failed, the screenshot is taken immediately before the exception is thrown and cleanup is started. If the action completed successfully, the screenshot is taken immediately after the action is performed. Find range end This action retrieves the position of the last cell within a range or the total number of rows or columns up to and including the last cell. The result is stored in a robotic task variable that you must create. You could use this action to determine the limits for a loop or use it with the Get Value action. Configuration In the CONFIGURATION area of the action pane, configure the following parameters: Starting Cell: This field identifies the row and column where your range starts. This field lets you enter a text string, choose a variable, or use the expression editor. Search By: Select to search in a Row or Column. Attribute to Return: Select the information you want to retrieve. Ending cell in range Count of columns or rows in range Outputs In the OUTPUTS area of the action pane, configure the following parameters to store this result: Operator: is stored as is appended to Target: Select the robotic task variable where you want to store the result. After completion In the AFTER COMPLETION area of the action pane, configure the following parameters: Wait before executing next action (seconds): Enter the number of seconds the robotic task waits before it continues to the next action in the robotic task definition. Take a screenshot: If you select this option, the robotic task takes a screenshot of the host machine after the action completes. If the action failed, the screenshot is taken immediately before the exception is thrown and cleanup is started. If the action completed successfully, the screenshot is taken immediately after the action is performed. Get value This action retrieves data from a workbook and stores it in a robotic task variable that you must create. Configuration In the CONFIGURATION area of the action pane, configure the following parameters: Component Type: Select the component from which you want to retrieve data. Each component type returns a different type of data. Depending on the component you select, additional parameters display. Component Returns Additional Parameter(s) Cell primitive system data type Cell: This is the column letter and row number for the cell from which you want to return data. This field lets you enter a text string, choose a variable, or use the expression editor. Column an array with a data type determined by the file's content Column: This is the column letter; e.g., A, B, C, for which you want to return data. You can enter text or select a variable. This field lets you enter a text string, choose a variable, or use the expression editor. Range map array Starting Cell and Ending Cell: These fields represent the start and end of the range for which you want to return data. These fields let you enter a text string, choose a variable, or use the expression editor. Row map array Row: This is the row number; e.g., 1, 2, 3, for which you want to return data. You can enter text or select a variable. This field lets you enter a text string, choose a variable, or use the expression editor. Specify header row: When this checkbox is marked, the robotic task uses the column headers as the key in the returned map. If the starting cell, ending cell, or any fields in the specified header row are empty, the column names (e.g., A, B, C) are the key in the returned map. To use this parameter with the Range component, you also need to enter the Header Row Starting Cell and Header Row Ending Cell. These fields let you enter a text string, choose a variable, or use the expression editor. To use this parameter with the Row component, you also need to enter the Header Row. This field lets you enter a text string, choose a variable, or use the expression editor. Ignore hidden rows: Choose whether to return only the rows you can see on screen. The action excludes rows that are hidden by hand, filtered out by an AutoFilter, or collapsed in a row group. This option doesn't apply when Cell is the selected Component Type. Return value as text: Choose whether to return the content of each cell as text with no lost digits. Outputs In the OUTPUTS area of the action pane, configure the following parameters to store this result: Operator: is stored as is appended to Target: Select the robotic task variable where you want to store the result. Ignore hidden rows output format When you mark Ignore hidden rows, Get value returns each cell as a map with two keys: Key Value cellValue The value of the cell. rowNumber The row number of the cell in the worksheet, not its position in the returned list. For example, a cell with the value 1234.5 in row 12 returns {cellValue: 1234.5, rowNumber: 12}. Return value as text output format When you mark Return value as text, Get value returns each cell's content as text by using the following rules: Cell content Text returned Number Plain digits, with at most 15 significant digits and never in E+ notation. Date The text that the cell's own format gives, as you see it in Excel. For example, 08/10/2026 14:30. Boolean true or false. Error The error text, such as #N/A or #DIV/0!. Text Unchanged. Usage considerations When storing custom-formatted numbers, particularly those representing currency, save them as decimal numbers rather than text to maintain accuracy. To read a number that is stored as text, use Return value as text. After completion In the AFTER COMPLETION area of the action pane, configure the following parameters: Wait before executing next action (seconds): Enter the number of seconds the robotic task waits before it continues to the next action in the robotic task definition. Take a screenshot: If you select this option, the robotic task takes a screenshot of the host machine after the action completes. If the action failed, the screenshot is taken immediately before the exception is thrown and cleanup is started. If the action completed successfully, the screenshot is taken immediately after the action is performed. Get cell format This action reads the type of data and the Excel format code of a cell or range. It doesn't return the cell's value. Use Get value to read the value, and use Get cell format when your robotic task needs to know whether a cell holds text, a number, a date, a Boolean, or an error, or how Excel formats the cell. Configuration In the CONFIGURATION area of the action pane, configure the following parameters: Component Type: Select the component from which you want to read the type and format. The additional parameters that display are the same as the parameters for the Get value action. Component Returns Additional Parameter(s) Cell primitive system data type Cell: This is the column letter and row number for the cell from which you want to return data. This field lets you enter a text string, choose a variable, or use the expression editor. Column an array with a data type determined by the file's content Column: This is the column letter; e.g., A, B, C, for which you want to return data. You can enter text or select a variable. This field lets you enter a text string, choose a variable, or use the expression editor. Range map array Starting Cell and Ending Cell: These fields represent the start and end of the range for which you want to return data. These fields let you enter a text string, choose a variable, or use the expression editor. Row map array Row: This is the row number; e.g., 1, 2, 3, for which you want to return data. You can enter text or select a variable. This field lets you enter a text string, choose a variable, or use the expression editor. Ignore hidden rows: Choose whether to return only the rows you can see on screen. The action excludes rows that are hidden by hand, filtered out by an AutoFilter, or collapsed in a row group. This option doesn't apply when Cell is the selected Component Type. Outputs In the OUTPUTS area of the action pane, configure the following parameters to store this result: Operator: is stored as is appended to Target: Select the robotic task variable where you want to store the result. Use a Map variable. Tip: Save the output value to a Map variable to keep the cell type and format code. Output structure Get cell format returns one map for each cell. Each map has the following keys: Key Value cellType The type of data in the cell. The value is Text, Number, Date, Boolean, Error, or Empty. cellFormat The Excel format code for the cell, as shown in Format Cells > Custom. Format codes are always Excel's English format codes, regardless of the Excel display language. rowNumber The row number of the cell in the worksheet. This key is included only when Ignore hidden rows is marked. For example, a cell that holds an amount in euros returns the following map: 1 {cellType: "Number", cellFormat: "#,##0.00 [$EUR]"} A range returns a list of row maps. Each column of a row holds one cell map. Cell types and format codes The following table shows what you see in a cell and the map that Get cell format returns for it: Kind of data The user sees Map from "Get cell format" Text Invoice 1 {cellType: "Text", cellFormat: "General"} Text with leading zeros 00123 {cellType: "Text", cellFormat: "@"} Number stored as text 45035414391 {cellType: "Text", cellFormat: "General"} Number 45035414391 {cellType: "Number", cellFormat: "General"} Number with decimals 1,234.57 {cellType: "Number", cellFormat: "#,##0.00"} Percentage 25% {cellType: "Number", cellFormat: "0%"} Currency $1.234,50 {cellType: "Number", cellFormat: "#,##0.00 [$EUR]"} Date 08/10/2026 {cellType: "Date", cellFormat: "dd/mm/yyyy"} Date with a time 08/10/2026 14:30 {cellType: "Date", cellFormat: "dd/mm/yyyy hh:mm"} Boolean TRUE {cellType: "Boolean", cellFormat: "General"} Error #N/A {cellType: "Error", cellFormat: "General"} Empty (blank) {cellType: "Empty", cellFormat: "General"} Usage considerations Excel reports General as the cellFormat for text, numbers, and Booleans. Use cellType to tell these apart. Percentages and currency amounts return Number as the cellType. Excel has no date type. Appian RPA sets Date as the cellType when the cell's format code is a date or time format. A cell that holds 1 with a custom format that looks like TRUE/FALSE returns Number as the cellType, not Boolean. Get cell format returns only the cell type and the format code. It doesn't return the font, fill color, borders, or alignment. After completion In the AFTER COMPLETION area of the action pane, configure the following parameters: Wait before executing next action (seconds): Enter the number of seconds the robotic task waits before it continues to the next action in the robotic task definition. Take a screenshot: If you select this option, the robotic task takes a screenshot of the host machine after the action completes. If the action failed, the screenshot is taken immediately before the exception is thrown and cleanup is started. If the action completed successfully, the screenshot is taken immediately after the action is performed. Get worksheet names This action returns the worksheet names, including hidden worksheets, in the same order as they appear in the file. The returned value is an array of strings ordered by index; e.g., tab 1, tab 2, and is stored in robotic task variable that you create. Outputs In the OUTPUTS area of the action pane, configure the following parameters to store this result: Operator: is stored as is appended to Target: Select the robotic task variable where you want to store the result. After completion In the AFTER COMPLETION area of the action pane, configure the following parameters: Wait before executing next action (seconds): Enter the number of seconds the robotic task waits before it continues to the next action in the robotic task definition. Take a screenshot: If you select this option, the robotic task takes a screenshot of the host machine after the action completes. If the action failed, the screenshot is taken immediately before the exception is thrown and cleanup is started. If the action completed successfully, the screenshot is taken immediately after the action is performed. Save workbook as After a workbook is opened or created, this action saves the workbook with the name and to the location that you specify in the parameters. If the file name in the configuration is different than the opened file, the robotic task saves the workbook as a new file. Note: This action works with .xlsx and .xls files only. Tip: You can't use this action to rename an existing workbook. However, if you want to rename an existing workbook, you can use the Rename a file or folder File System action to do that. Configuration In the CONFIGURATION area of the action pane, configure the following parameters: Folder: This is the path to the folder where the file is saved. File name: The name that identifies the file being saved. This field lets you enter a text string, choose a variable, or use the expression editor. Replace existing workbook: Check this box to replace an existing file in the specified folder when the file names are also the same. After completion In the AFTER COMPLETION area of the action pane, configure the following parameters: Wait before executing next action (seconds): Enter the number of seconds the robotic task waits before it continues to the next action in the robotic task definition. Take a screenshot: If you select this option, the robotic task takes a screenshot of the host machine after the action completes. If the action failed, the screenshot is taken immediately before the exception is thrown and cleanup is started. If the action completed successfully, the screenshot is taken immediately after the action is performed. Select worksheet This action selects a specific worksheet within an Excel file so that the robotic task can interact with it. Configuration In the CONFIGURATION area of the action pane, configure the following parameter: Select Worksheet Name or Index: Choose whether you want to select the worksheet by using a specific Worksheet name or Worksheet index. Worksheet Name: The worksheet name that identifies the sheet in the workbook being selected. This field lets you enter a text string, choose a variable, or use the expression editor. Worksheet Index: The index number, a sequential number assigned to a sheet, that identifies the file being selected. The first worksheet is index 1. This field lets you enter a text string, choose a variable, or use the expression editor. After completion In the AFTER COMPLETION area of the action pane, configure the following parameters: Wait before executing next action (seconds): Enter the number of seconds the robotic task waits before it continues to the next action in the robotic task definition. Take a screenshot: If you select this option, the robotic task takes a screenshot of the host machine after the action completes. If the action failed, the screenshot is taken immediately before the exception is thrown and cleanup is started. If the action completed successfully, the screenshot is taken immediately after the action is performed. Write into worksheet This action writes data or a formula into a single cell or a range. Configuration In the CONFIGURATION area of the action pane, configure the following parameters: Interaction Type: Select whether this action will Write Data or Write a Formula. Value Array: The data, entered as a value array, to write to the worksheet. The values can be numbers, text, dates, maps, dictionaries (returned by a query to a DSE), or lists of CDTs. This field lets you enter a text string, choose a variable, or use the expression editor. Formula: The Excel formula; e.g., SUM(A1+B1), to write to the worksheet. This field lets you enter a text string or array, choose a variable, or use the expression editor. If you want the formula to be dynamic, you can build a dynamic expression rule and use looping to generate the formula dynamically. Otherwise, this same action is available in the Excel License Required module where you can utilize the "autofill" feature to make the formula dynamic. Exclude column headers: When you mark this checkbox, the robotic task does not write the header data (specified by the key in your value array) into the Excel file. Starting Cell: This field identifies the row and column from which you want to start. This field lets you enter a text string, choose a variable, or use the expression editor. Apply format: Choose whether to apply cell formats as the action writes each value. When this option is selected, choose the variable that stores the output of the Get cell format action. Keep the data in the Value Array field. After completion In the AFTER COMPLETION area of the action pane, configure the following parameters: Wait before executing next action (seconds): Enter the number of seconds the robotic task waits before it continues to the next action in the robotic task definition. Take a screenshot: If you select this option, the robotic task takes a screenshot of the host machine after the action completes. If the action failed, the screenshot is taken immediately before the exception is thrown and cleanup is started. If the action completed successfully, the screenshot is taken immediately after the action is performed. Usage considerations When Apply format is selected, the data variable and the format variable must use the same data type. If the types differ, the step fails and the error names the first cell that differs. The action sets the format before it writes the value. This order keeps Excel from changing values such as 00123 into 123. Nested entries are not supported. Only use a flat table structure. If your data includes a nested column, that column will be written as an empty cell. Map data types must have the same number of columns across entries. If you're working with data from an array of CDTs, and each of those CDTs has a different number of fields, the order of that data may differ when writing that data to columns in the worksheet. For example, if your CDT array contains three CDTs with inconsistent fields, such as: {"id": 1, "name": "banana"}, {"id": 2, "name": "apple", "color": "red"}, {"id": 3, "shape": "round", "botanicalName": "hesperidium"}, RPA may not write the data in the column order you intended. To have more control over the column order, use the cast() function to convert the CDTs to a map before writing to the worksheet. To write data from a record, you must first convert the record data into a map. To do this, you can use the cast() function with a!listType(type!Map) and a!queryRecordType as its arguments, and wrap it around the queryRecordTypes expression; e.g., cast(a!listType(type!Map), a!queryRecordType()). If you want specific fields from a record query result, you can use Appian expressions to refine the data. To refine the data, you need to define the function a!queryRecordType to select the fields you want to return. To exclude IDs from a record query result, you can use the fn!remove() function as IDs are returned automatically with record queries. If your query includes record relationships, you must flatten the data structure using a!flatten() and a!map() functions to ensure the output is in a flat structure suitable for writing into an Excel document. Here is a pattern for refining the data. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 fn!with( local!dataWithoutIds: fn!remove( a!queryRecordType( recordType: recordType!Department, fields: {recordType!Department.fields.name, recordType!Department.relationships.employee.fields.status}, pagingInfo: a!pagingInfo( startIndex: 1, batchSize: 100 ) ).data, {recordType!Department.fields.id, recordType!Department.fields.employeeId} ), a!flatten( a!forEach( items: local!dataWithoutIds, expression: a!map( name: fv!item [recordType!Department.fields.name], status: fv!item[recordType!Department.fields.status] ) ) ) Feedback Was this page helpful? SHARE FEEDBACK Loading...