Hi Fatima,
With an excel file that large in size, my advice would be to use the "
Data - OLEDB" VBO which will read your excel file as a database using the ODBC drivers. In order to properly work with this VBO, you can refer to the following training LMS as well:
Blue Prism Guide To OLEDB- For this VBO to work, you need to install the Microsoft Access Database Engine which you can get from Microsoft's website as well which is given under the training resources. Once you get the DLL installed. You can use the action
"Set Connection" of the "
Data - OLEDB" VBO to first establish a successful connection with your excel file by providing a valid connection string, for example,
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=<FILE_PATH>;Extended Properties="Excel 12.0;HDR=YES";
You can try replacing the highlighted text with the actual file path consisting of the file name and extension along with the full file path. For example:
"C:\Test\Test.xlsx"
NOTE: Many times the connection string may not work depending on the excel version and Extended Properties. In case it does not work you can refer to the following website where you can find all the alternatives to your connection string to try upon:
Connection Strings- After this action you can use the "
Open" action of the "
Data - OLEDB" VBO to open the connection to the excel file and then use "
Get Collection" of the "
Data - OLEDB" VBO action to execute the query which you want to send in order to fetch the data. The query format is more or less like your SQL queries which you can use like
SELECT * FROM <Sheet_Name>$
You need to replace the highlighted text with the sheet name where your data resides in that excel file. This action will provide you the entire result set of this query into a collection.
- Post this you can now close the connection by using "
Close" action of the "
Data - OLEDB" VBO.
I have attached a sample workflow for your reference as well:
Let us know if it resolves your query and if your query has been resolved please mark it as the "Best Answer" so that others can easily track the answer.
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.