17-08-22 01:43 PM
17-08-22 02:08 PM
Criteria1:=RGB(255,0,0)
17-08-22 03:26 PM
@EmersonF, Thanks for your reply.
I tried above option too but still no result found.
I just have to write RGB(255,0,0) in Criteria field Value? or am I missing something?
17-08-22 04:37 PM
17-08-22 05:12 PM
17-08-22 05:41 PM
17-08-22 05:52 PM
17-08-22 06:06 PM
Input as
@LeonardoHermín1- Let me know in case you need more information.
------------------------------
Bhawana Daultani
------------------------------
27-02-23 09:44 AM
Hi Bhawana,
Did you get how to pass colour Code criteria Dynamically?
I am also facing the same issue I am not able to send colour code dynamically as of now If I am hardcoding RGB(255,255,0) is working fine.
@EmersonF, please help me if you know how to pass dynamic colour code.
28-02-23 11:02 AM
Hi @_Amlansahoo
You can follow the following approach by extending the MS Excel VBO business object with a separate action built using the below workflow:
The code stage will look something like below:
Dim ws As Object
ws = GetWorksheet(Handle, Workbook, Worksheet)
ws.Activate()
ws.Range("A1").AutoFilter(Field:= Field, Criteria1:= RGB(R,G,B), Operator:=8)
If you want, you can make range dynamic as well. However, my example I am assuming the table begins from the cell "A1". Now, when I use this action, you can see I am able to dynamically pass the RGB values (23,23,23) and it filters accordingly:
------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' 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 | Sr. Consultant - Automation Developer,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com
----------------------------------
------------------------------