<?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: How to set Color to a cell in Excel in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51959#M6922</link>
    <description>Create additional action in excel vbo&lt;BR /&gt;&lt;BR /&gt;code:&lt;BR /&gt;For Each row As DataRow In rowscoll.Rows&lt;BR /&gt;GetWorkbook(handle,Nothing).ActiveSheet.Cells(row.Item("Value"),colref).Interior.Color = RGB(Red_Value, Green_Value, Blue_Value)&lt;BR /&gt;next row&lt;BR /&gt;&lt;BR /&gt;Inputs to the action:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25988.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26119i6938E3D781753B8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="25988.png" alt="25988.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Action:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25989.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26121i3D0705CA33769F23/image-size/large?v=v2&amp;amp;px=999" role="button" title="25989.png" alt="25989.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;ColRef is number of the column&lt;BR /&gt;rowscol is collection of row numbers to color&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Karol Pietrzyk&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 24 Jun 2021 12:17:00 GMT</pubDate>
    <dc:creator>KarolPietrzyk1</dc:creator>
    <dc:date>2021-06-24T12:17:00Z</dc:date>
    <item>
      <title>How to set Color to a cell in Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51952#M6915</link>
      <description>Hi All,

I am trying to fill color to a specific cell in excel, any one has any idea please comment this post.

Â&amp;nbsp;

Thanks in advance..</description>
      <pubDate>Fri, 24 May 2019 01:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51952#M6915</guid>
      <dc:creator>NagaYaparla</dc:creator>
      <dc:date>2019-05-24T01:08:00Z</dc:date>
    </item>
    <item>
      <title>Hi,
Depending on yourâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51953#M6916</link>
      <description>Hi,
Depending on your version perhaps can you set rules into Excel to fill this cell here :
&lt;A href="https://support.office.com/en-gb/article/apply-create-or-remove-a-cell-style-472213bf-66bd-40c8-815c-594f0f90cd22" target="test_blank"&gt;https://support.office.com/en-gb/article/apply-create-or-remove-a-cell-style-472213bf-66bd-40c8-815c-594f0f90cd22&lt;/A&gt;
If this option does not apply to you, I would recommend to create a VBA Macro to handle it.</description>
      <pubDate>Fri, 24 May 2019 15:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51953#M6916</guid>
      <dc:creator>franlem2</dc:creator>
      <dc:date>2019-05-24T15:51:00Z</dc:date>
    </item>
    <item>
      <title>... then you run the macroâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51954#M6917</link>
      <description>... then you run the macro from BP with the Excel VBO.</description>
      <pubDate>Fri, 24 May 2019 15:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51954#M6917</guid>
      <dc:creator>franlem2</dc:creator>
      <dc:date>2019-05-24T15:52:00Z</dc:date>
    </item>
    <item>
      <title>Or you can add action toâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51955#M6918</link>
      <description>Or you can add action to excel VBO to do it, should be easy, codeÂ&amp;nbsp;was somewhere on the forum if I remember correctly.</description>
      <pubDate>Fri, 24 May 2019 20:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51955#M6918</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2019-05-24T20:26:00Z</dc:date>
    </item>
    <item>
      <title>Code
Dim xl, wb, ws, r, i, fâ€¦</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51956#M6919</link>
      <description>Code
Dim xl, wb, ws, r, i, f as object
Try
Â&amp;nbsp; Â&amp;nbsp; xl = GetInstance(Handle)
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;if Workbook_Name = "" then
Â&amp;nbsp; Â&amp;nbsp; Â&amp;nbsp; Â&amp;nbsp; wb = xl.activeworkbook
Â&amp;nbsp; Â&amp;nbsp; else
Â&amp;nbsp; Â&amp;nbsp; Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;wb = xl.workbooks(Workbook_Name)
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;wb.activate
Â&amp;nbsp; Â&amp;nbsp; end if
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;ws = wb.activesheet
Â&amp;nbsp; Â&amp;nbsp; if Ref.Trim = "" then
Â&amp;nbsp; Â&amp;nbsp; Â&amp;nbsp; Â&amp;nbsp; r = ws.usedrange
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;else
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;r = ws.range(Ref)
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;end if
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;i = r.Interior
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;i.ColorIndex = Background_Colour
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;f = r.Font
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;f.ColorIndex = Foreground_Colour
Catch e As Exception
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;Success = False
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;Message = e.Message
Finally
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;xl = Nothing
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;wb = Nothing
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;ws = Nothing
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;i = Nothing
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;r = Nothing
Â&amp;nbsp;Â&amp;nbsp; Â&amp;nbsp;f = Nothing
End Try
Â&amp;nbsp;</description>
      <pubDate>Sat, 25 May 2019 15:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51956#M6919</guid>
      <dc:creator>nadiim</dc:creator>
      <dc:date>2019-05-25T15:26:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to set Color to a cell in Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51957#M6920</link>
      <description>You can use the set cell color Action In the MS Excel VBO.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Juan Manuel Fonseca&lt;BR /&gt;Rpa developer&lt;BR /&gt;Freelance&lt;BR /&gt;America/Mexico_City&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jun 2020 17:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51957#M6920</guid>
      <dc:creator>Juan_ManuelFon1</dc:creator>
      <dc:date>2020-06-18T17:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to set Color to a cell in Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51958#M6921</link>
      <description>Hi!&lt;BR /&gt;Where can I find &lt;SPAN&gt;the MS Excel VBO-set cell color Action for downloading&lt;/SPAN&gt;?&lt;BR /&gt;Thanx&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;SOFÍA ROLDÁN GARCÍA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jun 2021 11:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51958#M6921</guid>
      <dc:creator>SofíaRoldán</dc:creator>
      <dc:date>2021-06-17T11:53:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to set Color to a cell in Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51959#M6922</link>
      <description>Create additional action in excel vbo&lt;BR /&gt;&lt;BR /&gt;code:&lt;BR /&gt;For Each row As DataRow In rowscoll.Rows&lt;BR /&gt;GetWorkbook(handle,Nothing).ActiveSheet.Cells(row.Item("Value"),colref).Interior.Color = RGB(Red_Value, Green_Value, Blue_Value)&lt;BR /&gt;next row&lt;BR /&gt;&lt;BR /&gt;Inputs to the action:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25988.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26119i6938E3D781753B8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="25988.png" alt="25988.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Action:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="25989.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26121i3D0705CA33769F23/image-size/large?v=v2&amp;amp;px=999" role="button" title="25989.png" alt="25989.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;ColRef is number of the column&lt;BR /&gt;rowscol is collection of row numbers to color&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Karol Pietrzyk&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jun 2021 12:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-set-Color-to-a-cell-in-Excel/m-p/51959#M6922</guid>
      <dc:creator>KarolPietrzyk1</dc:creator>
      <dc:date>2021-06-24T12:17:00Z</dc:date>
    </item>
  </channel>
</rss>

