<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Color Specific Cells in Excel in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/86094#M36998</link>
    <description>You should be able to access conditional formatting.&amp;nbsp; Even if it does not already exist in the Excel VBO, you could use application modeler to get the UI's needed for conditional formatting.&lt;BR /&gt;&lt;BR /&gt;If you know VBA, you may be able to create a VBA macro and run that too, instead of capturing all these UI elements.&lt;BR /&gt;&lt;BR /&gt;Select the Column&lt;BR /&gt;Go to Home -&amp;gt; Conditional Formatting&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23815.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23947iFBD7F7A1045A1B9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="23815.png" alt="23815.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Select Highlight Cells -&amp;gt; Text that Contains&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23816.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23948i1A7DF75BD44A03F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="23816.png" alt="23816.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Type in Yes, click the dropdown to Custom&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23817.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23946iD09052963692E193/image-size/large?v=v2&amp;amp;px=999" role="button" title="23817.png" alt="23817.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Select Fill, your Green color, okay.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23818.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23951iCC2CE13A3A953C2E/image-size/large?v=v2&amp;amp;px=999" role="button" title="23818.png" alt="23818.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Repeat all the steps for "No" and Red color.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23819.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23952i3FDCD059FDA25EDA/image-size/large?v=v2&amp;amp;px=999" role="button" title="23819.png" alt="23819.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Best of luck!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael Annis&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 08 Nov 2022 15:48:00 GMT</pubDate>
    <dc:creator>MichaelAnnis1</dc:creator>
    <dc:date>2022-11-08T15:48:00Z</dc:date>
    <item>
      <title>Color Specific Cells in Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/86092#M36996</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I would like to color cells in Excel for specified cells.&lt;BR /&gt;Let's say , Excel has a Column "&lt;STRONG&gt;Result&lt;/STRONG&gt;" consists of values &lt;STRONG&gt;Yes &lt;/STRONG&gt;and&lt;STRONG&gt; No.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I want to color all cells with &lt;STRONG&gt;Red&lt;/STRONG&gt; whose cell values are &lt;STRONG&gt;No&lt;/STRONG&gt; similarly &lt;STRONG&gt;Green&lt;/STRONG&gt; if cell value is &lt;STRONG&gt;Yes&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Do we have any customized code?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;vinod chinthakindi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Nov 2022 10:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/86092#M36996</guid>
      <dc:creator>vinodchinthakin</dc:creator>
      <dc:date>2022-11-08T10:02:00Z</dc:date>
    </item>
    <item>
      <title>RE: Color Specific Cells in Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/86093#M36997</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="cdcbb58e-c324-4e05-b305-48fb798e17be" data-tag-text="@vinod chinthakindi" href="https://community.blueprism.com/network/profile?UserKey=cdcbb58e-c324-4e05-b305-48fb798e17be" data-itemmentionkey="7e04462e-c648-4296-8fc2-72b3bb2d6e60"&gt;@vinod chinthakindi&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;I don't believe there's an existing action on the MS Excel VBO that supports this, but it's easy enough to add one.&lt;BR /&gt;&lt;BR /&gt;
&lt;OL&gt;
&lt;LI&gt;Create a new action on the VBO and name it something like &lt;EM&gt;&lt;STRONG&gt;Set Background Color of Range&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/LI&gt;
&lt;LI&gt;Define the following inputs to the &lt;STRONG&gt;Start&lt;/STRONG&gt; stage:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23812.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23950iDCEE8C4E56F72A60/image-size/large?v=v2&amp;amp;px=999" role="button" title="23812.png" alt="23812.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Add a Code stage to the action and name it as you see fit.&lt;/LI&gt;
&lt;LI&gt;Add the following Inputs to the Code stage:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23813.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23949i8B90CD6DCE541772/image-size/large?v=v2&amp;amp;px=999" role="button" title="23813.png" alt="23813.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;Add this code to the Code stage:&lt;/LI&gt;
&lt;/OL&gt;
&lt;PRE class="language-vbnet"&gt;&lt;CODE&gt;Dim range As Object
Dim currentCell As Object

Try
	range = GetWorkbook(handle,Nothing).ActiveSheet.Range(startcell,endcell)
	
	For Each currentCell In range
		currentCell.Interior.Color = RGB(color_R, color_G, color_B)
	Next currentCell

Catch ex As Exception

Finally
	range = Nothing

End Try​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Make sure to save your changes.&lt;BR /&gt;&lt;BR /&gt;The above will give you a general action you can use to the set the background color of cells in a specific range. The color is based on RGB (Red, Green, Blue) values, so to set a cells background to red you would set &lt;STRONG&gt;ColorValue-R&lt;/STRONG&gt; = 255 and the others to 0. Hopefully that makes sense.&lt;BR /&gt;&lt;BR /&gt;This action doesn't account for the value criteria you mentioned though. You could either extend the code above the include a check of the cells value before changing the color, or you could just use &lt;STRONG&gt;Find&lt;/STRONG&gt; action of the VBO to find all cells that have a value of Yes (or No) and use then iterate over the resulting Collection and call this new action on each of those cells.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;/P&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Nov 2022 12:46:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/86093#M36997</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-11-08T12:46:00Z</dc:date>
    </item>
    <item>
      <title>RE: Color Specific Cells in Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/86094#M36998</link>
      <description>You should be able to access conditional formatting.&amp;nbsp; Even if it does not already exist in the Excel VBO, you could use application modeler to get the UI's needed for conditional formatting.&lt;BR /&gt;&lt;BR /&gt;If you know VBA, you may be able to create a VBA macro and run that too, instead of capturing all these UI elements.&lt;BR /&gt;&lt;BR /&gt;Select the Column&lt;BR /&gt;Go to Home -&amp;gt; Conditional Formatting&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23815.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23947iFBD7F7A1045A1B9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="23815.png" alt="23815.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Select Highlight Cells -&amp;gt; Text that Contains&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23816.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23948i1A7DF75BD44A03F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="23816.png" alt="23816.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Type in Yes, click the dropdown to Custom&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23817.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23946iD09052963692E193/image-size/large?v=v2&amp;amp;px=999" role="button" title="23817.png" alt="23817.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Select Fill, your Green color, okay.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23818.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23951iCC2CE13A3A953C2E/image-size/large?v=v2&amp;amp;px=999" role="button" title="23818.png" alt="23818.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Repeat all the steps for "No" and Red color.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23819.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23952i3FDCD059FDA25EDA/image-size/large?v=v2&amp;amp;px=999" role="button" title="23819.png" alt="23819.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Best of luck!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael Annis&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Nov 2022 15:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/86094#M36998</guid>
      <dc:creator>MichaelAnnis1</dc:creator>
      <dc:date>2022-11-08T15:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: Color Specific Cells in Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/86095#M36999</link>
      <description>Thanks Michael. Definitely It can help me. &lt;BR /&gt;But, I am looking for a VBA code for a single go. As am not much good at coding.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;vinod chinthakindi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Nov 2022 16:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/86095#M36999</guid>
      <dc:creator>vinodchinthakin</dc:creator>
      <dc:date>2022-11-08T16:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: Color Specific Cells in Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/86096#M37000</link>
      <description>Below...just change the column selection in Bold.&amp;nbsp; Good luck!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sub Yes_Green_No_Red()&lt;BR /&gt;'&lt;BR /&gt;' Yes_Green_No_Red Macro&lt;BR /&gt;'&lt;BR /&gt;&lt;BR /&gt;'&lt;BR /&gt;&lt;STRONG&gt;Columns("A:A").Select&lt;/STRONG&gt;&lt;BR /&gt;Selection.FormatConditions.Add Type:=xlTextString, String:="Yes", _&lt;BR /&gt;TextOperator:=xlContains&lt;BR /&gt;Selection.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority&lt;BR /&gt;With Selection.FormatConditions(1).Interior&lt;BR /&gt;.PatternColorIndex = xlAutomatic&lt;BR /&gt;.ThemeColor = xlThemeColorAccent6&lt;BR /&gt;.TintAndShade = 0.799981688894314&lt;BR /&gt;End With&lt;BR /&gt;Selection.FormatConditions(1).StopIfTrue = False&lt;BR /&gt;Selection.FormatConditions.Add Type:=xlTextString, String:="No", _&lt;BR /&gt;TextOperator:=xlContains&lt;BR /&gt;Selection.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority&lt;BR /&gt;With Selection.FormatConditions(1).Interior&lt;BR /&gt;.PatternColorIndex = xlAutomatic&lt;BR /&gt;.Color = 13421823&lt;BR /&gt;.TintAndShade = 0&lt;BR /&gt;End With&lt;BR /&gt;Selection.FormatConditions(1).StopIfTrue = False&lt;BR /&gt;End Sub&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael Annis&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Nov 2022 18:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/86096#M37000</guid>
      <dc:creator>MichaelAnnis1</dc:creator>
      <dc:date>2022-11-08T18:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Color Specific Cells in Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/119544#M53004</link>
      <description>&lt;P&gt;Mr. Ewilson thanks a lot, I've tried this method, and it works perfectly. However, I'm wondering if any actions have been developed in the newer versions of MS Excel VBO? in 2025&lt;/P&gt;</description>
      <pubDate>Sat, 22 Mar 2025 10:26:39 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/119544#M53004</guid>
      <dc:creator>Omar-Abu-Snineh</dc:creator>
      <dc:date>2025-03-22T10:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Color Specific Cells in Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/119546#M53005</link>
      <description>&lt;P&gt;After conducting some research, it appears that there is an enhanced version of the MS Excel VBO. Instead of using the standard one, you should use &lt;STRONG&gt;the MS Excel VBO Extended&lt;/STRONG&gt;, which you can download from the following link: &lt;A href="https://digitalexchange.blueprism.com/cardDetails?id=64395" target="_self"&gt;MS Excel VBO Extended&lt;/A&gt;.&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 23 Mar 2025 19:36:12 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/119546#M53005</guid>
      <dc:creator>Omar-Abu-Snineh</dc:creator>
      <dc:date>2025-03-23T19:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Color Specific Cells in Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/123693#M54114</link>
      <description>&lt;P&gt;here is the Excel VBA Code , if you want to use&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sub colorYesValue()

Dim Wks As Worksheet
Set Wks = ThisWorkbook.Sheets("Sheet1") 'if you want to run on active workbook from macro file then you can enter ActiveWorkbook.Sheet("SheetName")
Wks.AutoFilterMode = False


Dim Lr As Long
Lr = Wks.Range("A1").CurrentRegion.Rows.Count

Dim hdrRng As Range
Set hdrRng = Wks.Range("1:1").Find("Result", , , xlWhole)

If Lr &amp;gt; 1 And Not hdrRng Is Nothing Then
    
    Wks.Range("A1").CurrentRegion.AutoFilter hdrRng.Column, "Yes"
    
    If (Wks.AutoFilter.Range.Columns("A").SpecialCells(12).Cells.Count - 1) &amp;gt; 0 Then
        Wks.Range(Wks.Cells(2, hdrRng.Column).Address &amp;amp; ":" &amp;amp; Wks.Cells(Lr, hdrRng.Column).Address).SpecialCells(12).Interior.Color = vbRed
    End If
    
    Wks.AutoFilterMode = False
    
End If

Set hdrRng = Nothing

End Sub&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 01 Dec 2025 11:14:37 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Color-Specific-Cells-in-Excel/m-p/123693#M54114</guid>
      <dc:creator>naveed_raza</dc:creator>
      <dc:date>2025-12-01T11:14:37Z</dc:date>
    </item>
  </channel>
</rss>

