RPA.Excel.Application
Excel.Application is a library for controlling the Excel application.
Examples
Robot Framework
Python
Caveats
This library works on a Windows operating system with UI enabled only, and you must ensure that you open the app first with Open Application before running any other relevant keyword which requires to operate on an open app. The application is automatically closed at the end of the task execution, so this can be changed by importing the library with the autoexit=${False} setting.
If you're running the Process by Control Room through a custom self-hosted Worker service, then please make sure that you enable an RDP session by ticking "Use Desktop Connection" under the Step configuration.
If you still encounter issues with opening a document, please ensure that file can be opened first manually and dismiss any alert potentially blocking the process.
Check the documentation below for more info:
- https://robocorp.com/docs/control-room/unattended/worker-setups/windows-desktop
- https://robocorp.com/docs/faq/windows-server-2016
Importing
Initialize the library instance by wrapping the COM Windows app.
param autoexit: | Automatically close the app when the process finishes. |
---|