Using UiPath Database Activities to Read and Update Excel Files Without Excel Scope

In this video, I demonstrate how to read and update a standard Excel file using only UiPath Database activities, without relying on Excel-specific activities like “Excel Application Scope” or “Write Range”.

This approach treats Excel as a database using an OleDb connection, allowing SQL operations such as SELECT, UPDATE, and INSERT directly on the spreadsheet.

:magnifying_glass_tilted_left: Covered in the video:

How to connect to an excel file as a database using OleDb

Execute SQL queries on Excel sheets in uipath

Limitations of using Excel via Database activity (e.g., no schema inference, read/write challenges)

:open_file_folder: This technique is especially useful for headless automation scenarios where you want to read file with large number of records

:bullseye: Ideal for RPA developers looking to optimize workflows with structured, code-like control over Excel files.

3 Likes

@pavithra_pavi,

Do we need Excel to be installed on the machine to use this approach?

@ashokkarale , yes we need to have excel installed to use this approach

1 Like