I am using the Read Range (Modern) activity to read an Excel file with 1000 records, but it takes over a minute to complete. In contrast, the Classic Read Range activity processes the same file much faster.
Since my project is built with Modern activities, I want to continue using the Read Range (Modern) activity. Could you suggest any optimizations or best practices to improve its performance?
Disable “Preserve Formatting”: If you don’t need to retain cell formatting, uncheck the “Preserve Formatting” option. Formatting conversion takes extra processing time.
Specify the Exact Range Instead of “Auto”: Instead of reading the entire sheet (Auto), specify the exact range you need, such as "A1:Z1000". This reduces unnecessary processing.
Use “Only Read Used Range”: If your Excel sheet has many blank rows, enable the “Only Read Used Range” option (if available). This will ignore empty rows, speeding up execution.
Minimize Concurrent Excel Operations: Ensure that no other Excel processes are running in the background that may slow down access.
Run UiPath in a Higher Performance Mode: If running in debug mode, try executing in normal mode as debugging adds overhead.
Close Background Excel Instances: Use “Kill Process” (Excel) before reading the file to prevent interference from background Excel processes.
Use “Workbook Path” Instead of “Excel Process Scope”: If you don’t need to interact with Excel after reading, use Workbook Path instead of keeping an Excel process open.