Excel advanced package
- Updated: 2024/06/27
Excel advanced package
The Excel advanced package contains actions that enable you to automate many of the repetitive tasks when working with Microsoft Excel spreadsheets.
- The Excel file that you use from the Control Room is applicable only for the current bot session. If you modify the file during bot execution, the updated file cannot be uploaded back to the Control Room
- You need not install the Microsoft Access Database
Engine as an additional component in your system to use Excel as
Database if you are using any of the following office versions:
- Microsoft 365 Apps for Enterprise
- Microsoft Office 2016, or 2019 (Consumer Version 2009 or later)
However, if you have both Microsoft 365 Apps and the Microsoft Access Database Engine are installed on your system, then you can uninstall the Microsoft Access Database Engine and repair Microsoft 365 Apps.
Microsoft recommends that you do not install the Microsoft Access Database Engine driver separately because both the Microsoft Access Database Engine 2016 and Microsoft 365 Apps use the same major version identifier (16.0). To learn more about the Microsoft Access Database Engine driver installation requirement, see Unable to use the Access ODBC or OLEDB provider
See Macros from the internet will be blocked by default in Office for more details.
- .xls
- .xlsx
- .xlsb
- .xml
- .xlsm
- .txt
- .ods
- .htm
- .html
- .mht
- .mhtml
- .slk
- For files with .ods extension, unless you specify the sheet name in the Specify sheet name field of the Open action, the action always opens the .ods file with the first sheet as active, by default. If the sheet name contains a space character, after you save and close the Excel sheet, the space character is displayed as underscore.
- Files with the .htm, .html, .mht, and .mhtml extensions cannot be converted into PDF.
- Files with the .slk and .pdf extensions contain only a single sheet. The sheet cannot be renamed. If you rename the sheet and save the Excel sheet, the sheet does not retain the new name.
- Files with .htm, .html, .mht, .mhtml, .slk, and .pdf extensions cannot retain passwords.
- You cannot run a macro in files with the .pdf extension.
- Note: Macro-enabled Excel applications with VBA using 32-bit and 64-bit code are not supported. If you encounter a Compile error in hidden module error message when running a macro, then see the following image to add the VBA code manually in the Excel file
Choosing the Excel package in Automation 360
Automation 360 includes packages to support three types of Microsoft Excel usage. For optimal results, use the package that corresponds to the type of Excel that is available on the device you are running bots on.
- No Excel installed: If you do not have Microsoft Excel installed on the device on which you are running bots to automate Excel-related processes, use the Excel basic package.
- Desktop Excel installed: If you have a desktop version of Microsoft Excel installed on your computer, use the Excel advanced package in your bots.
- Online Microsoft 365 Excel only: If you are using Microsoft Excel 365 on a web browser, use the Microsoft 365 Excel package for automating tasks related to Excel.
Before you start
Perform the following actions within the Excel advanced package as part of using the set of available actions:
- Open the Microsoft Excel spreadsheet that you want to use to automate the
Microsoft Excel-related tasks. Use the Open
action to open the spreadsheet. See Using the Open action for Excel advanced.Note: For files containing large data sets, use actions from the Database package to automate create, read, and update operations. See Using Connect action for database.
- Use the different actions available in the Excel advanced package to automate the Microsoft Excel-related tasks.
- After you have automated all the Microsoft Excel-related tasks, close the spreadsheet using the Close action.
Actions in the Excel advanced package
The actions in the Excel advanced package enable you to perform the following operations:
Action | Description |
---|---|
Cell operations | Perform operations such as extracting data from cells, deleting values from a cell, moving a cursor to a specific cell, and finding and replacing content. See Cell operations in Excel advanced. |
Row and column operations | Perform operations such as inserting new rows and columns, and hiding and unhiding rows and columns. See Row and column operations in Excel advanced. |
Table operations | Perform operations such as sorting and filtering data in a table, inserting and deleting columns, and getting the table range. See Table operations in Excel advanced. |
Workbook operations | Perform operations such as opening a workbook, appending data, protecting and unprotecting a workbook, and converting a Microsoft Excel workbook to a PDF file. See Workbook operations in Excel advanced. |
Worksheet operations | Perform operations such as creating and deleting a worksheet, appending data, and hiding and unhiding a worksheet. See Worksheet operations in Excel advanced. |
More resources
- Free Automation 360 bot examples for Excel from Bot Store:
- Tutorial on using Excel packages: Work with large Excel datasets in a bot
- Learning courses from Automation Anywhere University: RPA Training and Certification (A-People login required)