Hi Harish,You can achieve the highlighting of cells in multiple ways. If you have the excel file ready as a template you can perhaps set the conditional formatting rules in the excel file directly. As you keep populating the cells in the excel file from Blue Prism process, the cells will get highlighted automatically based on the conditional formatting rule that have set previously.If you want to dynamically set the cell color, extend the Excel VBO capability by creating an additional action using code stage with below parameters and code:Input:handle : The current excel instance that holds you excel session.row_reference : The row number of the cell that you want to highlight.column_reference: The column number of the cell that you want to highlight.red_value: The value of the Red tone pixel ranging from 0 to 255.green_value: The value of the Green tone pixel ranging from 0 to 255.blue_value: The value of the Blue tone pixel ranging from 0 to 255.Code:GetWorkbook(handle,Nothing).ActiveSheet.Cells(row_reference,column_reference).Interior.Color = RGB(red_value, green_value, blue_value)
Before using this code use the keep the excel handle activated by using Create Instance, Open Instance or Attach activity and open your desired workbook and activate the worksheet where you want to perform this operation. Depending on your use case and logic you can either call this action once or maybe in a loop as per some condition that you want to set for highlighting by passing dynamic row and column number for the cells.------------------------------
Regards,
Devneet Mohanty
Intelligent Automation Consultant
Blueprism 6x Certified Professional
Website:
https://devneet.github.io/Email: devneetmohanty07@gmail.com
------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please provide a big thumbs up so that the others members in the community having similar problem statement can track the answer easily in future.
Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Technical Business Analyst,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com
----------------------------------