<?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 How to read Excel values ​​including color information in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110428#M49820</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a Excel table like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sumire_0-1715587108549.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38183i74AF7A92AE013986/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="sumire_0-1715587108549.png" alt="sumire_0-1715587108549.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would like to get the values ​​of this table as collection, including color information.&lt;BR /&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sumire_1-1715587340222.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38184i1136ACC89BACF8AD/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="sumire_1-1715587340222.png" alt="sumire_1-1715587340222.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm looking for a suitable method.&lt;BR /&gt;If you know of a better way, please let me know.&lt;/P&gt;</description>
    <pubDate>Mon, 13 May 2024 08:05:37 GMT</pubDate>
    <dc:creator>sumire</dc:creator>
    <dc:date>2024-05-13T08:05:37Z</dc:date>
    <item>
      <title>How to read Excel values ​​including color information</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110428#M49820</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a Excel table like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sumire_0-1715587108549.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38183i74AF7A92AE013986/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="sumire_0-1715587108549.png" alt="sumire_0-1715587108549.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would like to get the values ​​of this table as collection, including color information.&lt;BR /&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sumire_1-1715587340222.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38184i1136ACC89BACF8AD/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="sumire_1-1715587340222.png" alt="sumire_1-1715587340222.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm looking for a suitable method.&lt;BR /&gt;If you know of a better way, please let me know.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 08:05:37 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110428#M49820</guid>
      <dc:creator>sumire</dc:creator>
      <dc:date>2024-05-13T08:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Excel values ​​including color information</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110438#M49824</link>
      <description>&lt;P&gt;Hi, we did some different solutions that involved excel with font color. You will have to build a custom excel filter that can apply a filter based on color and pass input color hex code.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 11:02:17 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110438#M49824</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2024-05-13T11:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Excel values ​​including color information</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110454#M49827</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2159"&gt;@Tejaskumar_Darji&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;BR /&gt;What I know is that I use "Get Background Color" action inside "MS Excel&amp;nbsp; Booster" VBO to get the color information.&lt;BR /&gt;&lt;A href="https://digitalexchange.blueprism.com/dx/entry/78038/solution/spgmi--ms-excel-booster" target="_self"&gt;https://digitalexchange.blueprism.com/dx/entry/78038/solution/spgmi--ms-excel-booster&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Is there any other way you are suggesting? If you know of a new method please let me know.&lt;/P&gt;&lt;P&gt;I need to process an Excel sheet that uses color to indicate data types, and I'm having a really hard time.&lt;BR /&gt;I don't want them to create such an Excel in the first place... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 23:41:12 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110454#M49827</guid>
      <dc:creator>sumire</dc:creator>
      <dc:date>2024-05-13T23:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Excel values ​​including color information</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110487#M49831</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/296"&gt;@sumire&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please confirm if the color values are fixed in your excel or is it changing randomly?&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 10:49:13 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110487#M49831</guid>
      <dc:creator>faheemsd</dc:creator>
      <dc:date>2024-05-14T10:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Excel values ​​including color information</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110493#M49832</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can add a new action that can give you the RGB Codes&lt;/P&gt;&lt;P&gt;1. Go to the object studio SGPMI&amp;nbsp;&lt;SPAN&gt;MS Excel&amp;nbsp; Booster&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2 Add a new action and name it for example (Get font color)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_0-1715683883126.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38200i9AD21EF143297A26/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_0-1715683883126.png" alt="Mohamad_747_0-1715683883126.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;3 Add this code&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;dim C as long&lt;BR /&gt;dim R as long&lt;BR /&gt;dim G as long&lt;BR /&gt;dim B as long&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;C = GetWorksheet(handle, Workbook, Worksheet ).Range(cellref,cellref).DisplayFormat.Font.Color&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;R = C Mod 256&lt;BR /&gt;G = C \ 256 Mod 256&lt;BR /&gt;B = C \ 65536 Mod 256&lt;BR /&gt;GetCellRGB = "R=" &amp;amp; R &amp;amp; ", G=" &amp;amp; G &amp;amp; ", B=" &amp;amp; B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Catch ex as exception&lt;/P&gt;&lt;P&gt;exceptionMessage = ex.message&lt;/P&gt;&lt;P&gt;End Try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for Input provide this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_1-1715683977483.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38201i5F966B5DA4E72323/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_1-1715683977483.png" alt="Mohamad_747_1-1715683977483.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For output this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_2-1715683997763.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38202i12FCA9139E07DFF9/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_2-1715683997763.png" alt="Mohamad_747_2-1715683997763.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And you will have an output like this for example if your cell font is in red, you will have&amp;nbsp; &amp;lt;R=255, G=0, B=0&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it will help you&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 10:56:13 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110493#M49832</guid>
      <dc:creator>Mohamad_Dakkouri</dc:creator>
      <dc:date>2024-05-14T10:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Excel values ​​including color information</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110509#M49835</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/36564"&gt;@faheemsd&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Thank you for reply.&lt;/P&gt;&lt;P&gt;Color values are fixed.&lt;BR /&gt;Each value is color-coded by type. For example, the large size is blue, the medium size is yellow, and the small size is red.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 01:34:38 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110509#M49835</guid>
      <dc:creator>sumire</dc:creator>
      <dc:date>2024-05-15T01:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Excel values ​​including color information</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110510#M49836</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2407"&gt;@Mohamad_Dakkouri&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I also wrote a similar article. (Sorry, I wrote this article in Japanese, so please use machine translation to read it)&lt;BR /&gt;&lt;A href="https://qiita.com/Sumire_Neko/items/e119bbbdaa9c57e9e930" target="_self"&gt;https://qiita.com/Sumire_Neko/items/e119bbbdaa9c57e9e930&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Since there are hundreds of target cells, reading the color information by moving each cell one by one is time-consuming.&lt;BR /&gt;Therefore, I'm looking for a faster way to do this.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 01:44:22 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110510#M49836</guid>
      <dc:creator>sumire</dc:creator>
      <dc:date>2024-05-15T01:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Excel values ​​including color information</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110530#M49840</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/296"&gt;@sumire&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to create a CUSTOM Action Like this for example :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_0-1715780075951.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38210iA693681E587B8005/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_0-1715780075951.png" alt="Mohamad_747_0-1715780075951.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For inputs you put :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_1-1715780114036.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38211i4F656DC286276D5F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_1-1715780114036.png" alt="Mohamad_747_1-1715780114036.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Notice :&amp;nbsp;&lt;/P&gt;&lt;P&gt;column_where_color_is_present is the &lt;STRONG&gt;index&lt;/STRONG&gt; column. In your case it's column A, so you put 1&lt;/P&gt;&lt;P&gt;column_result is where you stock the result so you can put&amp;nbsp; 2 or 3 depends on where you want to stock your values.&lt;/P&gt;&lt;P&gt;For Ouptut&amp;nbsp; :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_2-1715780141883.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38212i4F2E1E1CAB1F4317/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_2-1715780141883.png" alt="Mohamad_747_2-1715780141883.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And inside the code you put this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Try&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Dim C As Long&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Dim R As Long&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Dim G As Long&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Dim B As Long&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Dim i As Long&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For i = start_row To last_Row&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;If Not IsDBNull(GetWorksheet(handle, Workbook, Worksheet).Cells(i, column_where_color_is_present).Value) AndAlso Len(GetWorksheet(handle, Workbook, Worksheet).Cells(i, column_where_color_is_present).Value) &amp;gt; 0 Then&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;C = GetWorksheet(handle, Workbook, Worksheet).Cells(i, column_where_color_is_present).Font.Color&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;R = C Mod 256&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;G = C \ 256 Mod 256&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;B = C \ 65536 Mod 256&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Dim GetCellRGB As String = "R=" &amp;amp; R &amp;amp; ", G=" &amp;amp; G &amp;amp; ", B=" &amp;amp; B&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;GetWorksheet(handle, Workbook, Worksheet).Cells(i, column_result).Value = GetCellRGB&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Else&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;GetWorksheet(handle, Workbook, Worksheet).Cells(i, column_result).Value = ""&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;End If&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Next i&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Catch ex As Exception&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;exceptionMessage = ex.Message&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;End Try&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to make a loop to find your wanted results, we make the loop inside the vbo&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your process should look like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_3-1715780615394.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38213i4C184A6ACA8F5168/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_3-1715780615394.png" alt="Mohamad_747_3-1715780615394.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your CUSTOM VBO inputs in the process like this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_0-1715783270119.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38216iE3C4163ACAE258EB/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_0-1715783270119.png" alt="Mohamad_747_0-1715783270119.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ensure that you dont have empty value inside your column A&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the end you will have this results&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_4-1715780943268.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38214iA0F2F19CB1427FB6/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_4-1715780943268.png" alt="Mohamad_747_4-1715780943268.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please mark as best answer if my code helped you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 14:28:38 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110530#M49840</guid>
      <dc:creator>Mohamad_Dakkouri</dc:creator>
      <dc:date>2024-05-15T14:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Excel values ​​including color information</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110566#M49851</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/296"&gt;@sumire&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can achieve this with the help of macro code.&lt;/P&gt;&lt;P&gt;Create an Excel template with the macro enabled workbook and copy all your original excel data into the Macro Excel template and then Run the Macro with the help of Blue Prism. output will be created in the Sheet2 and you can read the Sheet2 data as a collection in Blue Prism.&lt;BR /&gt;My Excel Data&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_0-1715803436453.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38225i94ADF3BE0B8DBB1B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_0-1715803436453.png" alt="faheemsd_0-1715803436453.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My Macro Name:&amp;nbsp;GetFontColorsInColumnA&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_1-1715803506236.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38226i56FD8490461646FF/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_1-1715803506236.png" alt="faheemsd_1-1715803506236.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After running the above Macro output will be generated in Sheet2&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_2-1715803562641.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38227i26D07D1B55BD653B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_2-1715803562641.png" alt="faheemsd_2-1715803562641.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Macro Code:&lt;/P&gt;&lt;P&gt;Function GetColorName(colorValue As Long) As String&lt;BR /&gt;' This function converts the font color value to a known color name&lt;BR /&gt;' You can add more color mappings if needed&lt;BR /&gt;&lt;BR /&gt;Select Case colorValue&lt;BR /&gt;Case RGB(0, 0, 0)&lt;BR /&gt;GetColorName = "Black"&lt;BR /&gt;Case RGB(255, 255, 255)&lt;BR /&gt;GetColorName = "White"&lt;BR /&gt;Case RGB(255, 0, 0)&lt;BR /&gt;GetColorName = "Red"&lt;BR /&gt;Case RGB(0, 255, 0)&lt;BR /&gt;GetColorName = "Green"&lt;BR /&gt;Case RGB(0, 0, 255)&lt;BR /&gt;GetColorName = "Blue"&lt;BR /&gt;Case RGB(255, 255, 0)&lt;BR /&gt;GetColorName = "Yellow"&lt;BR /&gt;Case RGB(255, 165, 0)&lt;BR /&gt;GetColorName = "Orange"&lt;BR /&gt;Case RGB(128, 0, 128)&lt;BR /&gt;GetColorName = "Purple"&lt;BR /&gt;Case RGB(255, 192, 203)&lt;BR /&gt;GetColorName = "Pink"&lt;BR /&gt;Case RGB(128, 128, 128)&lt;BR /&gt;GetColorName = "Gray"&lt;BR /&gt;Case RGB(192, 192, 192)&lt;BR /&gt;GetColorName = "Silver"&lt;BR /&gt;Case RGB(0, 128, 0)&lt;BR /&gt;GetColorName = "Dark Green"&lt;BR /&gt;Case RGB(0, 128, 128)&lt;BR /&gt;GetColorName = "Teal"&lt;BR /&gt;Case RGB(128, 0, 0)&lt;BR /&gt;GetColorName = "Maroon"&lt;BR /&gt;Case RGB(128, 128, 0)&lt;BR /&gt;GetColorName = "Olive"&lt;BR /&gt;Case RGB(0, 0, 128)&lt;BR /&gt;GetColorName = "Navy"&lt;BR /&gt;Case RGB(75, 0, 130)&lt;BR /&gt;GetColorName = "Indigo"&lt;BR /&gt;Case RGB(255, 69, 0)&lt;BR /&gt;GetColorName = "Orange Red"&lt;BR /&gt;Case RGB(255, 20, 147)&lt;BR /&gt;GetColorName = "Deep Pink"&lt;BR /&gt;Case RGB(139, 69, 19)&lt;BR /&gt;GetColorName = "Saddle Brown"&lt;BR /&gt;Case RGB(210, 105, 30)&lt;BR /&gt;GetColorName = "Chocolate"&lt;BR /&gt;Case RGB(245, 245, 220)&lt;BR /&gt;GetColorName = "Beige"&lt;BR /&gt;Case RGB(220, 20, 60)&lt;BR /&gt;GetColorName = "Crimson"&lt;BR /&gt;Case Else&lt;BR /&gt;GetColorName = "Other"&lt;BR /&gt;End Select&lt;BR /&gt;End Function&lt;/P&gt;&lt;P&gt;Sub GetFontColorsInColumnA()&lt;BR /&gt;Dim wsInput As Worksheet&lt;BR /&gt;Dim wsOutput As Worksheet&lt;BR /&gt;Dim cell As Range&lt;BR /&gt;Dim fontColorName As String&lt;BR /&gt;Dim fontColorValue As Long&lt;BR /&gt;Dim lastRow As Long&lt;BR /&gt;Dim outputRow As Long&lt;/P&gt;&lt;P&gt;' Set the input and output worksheets&lt;BR /&gt;Set wsInput = ThisWorkbook.Sheets("Sheet1")&lt;BR /&gt;On Error Resume Next&lt;BR /&gt;Set wsOutput = ThisWorkbook.Sheets("Sheet2")&lt;BR /&gt;If wsOutput Is Nothing Then&lt;BR /&gt;Set wsOutput = ThisWorkbook.Sheets.Add(After:=ThisWorkbook.Sheets(ThisWorkbook.Sheets.Count))&lt;BR /&gt;wsOutput.Name = "Sheet2"&lt;BR /&gt;End If&lt;BR /&gt;On Error GoTo 0&lt;/P&gt;&lt;P&gt;' Clear any existing data in the output sheet&lt;BR /&gt;wsOutput.Cells.Clear&lt;/P&gt;&lt;P&gt;' Write headers to the output sheet&lt;BR /&gt;wsOutput.Cells(1, 1).Value = "Name"&lt;BR /&gt;wsOutput.Cells(1, 2).Value = "Font Color"&lt;/P&gt;&lt;P&gt;' Get the last row with data in the input sheet&lt;BR /&gt;lastRow = wsInput.Cells(wsInput.Rows.Count, "A").End(xlUp).Row&lt;/P&gt;&lt;P&gt;' Iterate through each cell in column A of the input sheet&lt;BR /&gt;outputRow = 2 ' Start from row 2 to skip header&lt;BR /&gt;For Each cell In wsInput.Range("A2:A" &amp;amp; lastRow)&lt;BR /&gt;fontColorValue = cell.Font.Color&lt;BR /&gt;&lt;BR /&gt;' Determine the font color name&lt;BR /&gt;fontColorName = GetColorName(fontColorValue)&lt;BR /&gt;&lt;BR /&gt;' Write the name and font color name to the output sheet&lt;BR /&gt;wsOutput.Cells(outputRow, 1).Value = cell.Value&lt;BR /&gt;wsOutput.Cells(outputRow, 2).Value = fontColorName&lt;BR /&gt;&lt;BR /&gt;outputRow = outputRow + 1&lt;BR /&gt;Next cell&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_5-1715803910611.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38230iA5C451FF31DF91FE/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_5-1715803910611.png" alt="faheemsd_5-1715803910611.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please use the above macro code in the excel workbook.&lt;/P&gt;&lt;P&gt;Open the Excel work book with Blue Prism and Run the Macro as shown in below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_3-1715803806326.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38228i55A221EA1138A64A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_3-1715803806326.png" alt="faheemsd_3-1715803806326.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_4-1715803835142.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38229i7665DCC3D6B70DD8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_4-1715803835142.png" alt="faheemsd_4-1715803835142.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_6-1715803953736.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38231iA37143313F3EE861/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_6-1715803953736.png" alt="faheemsd_6-1715803953736.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please try this and it will give the the response with in seconds and let me know if you have any doubts on this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/296"&gt;@sumire&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a Excel table like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sumire_0-1715587108549.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38183i74AF7A92AE013986/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="sumire_0-1715587108549.png" alt="sumire_0-1715587108549.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would like to get the values ​​of this table as collection, including color information.&lt;BR /&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sumire_1-1715587340222.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38184i1136ACC89BACF8AD/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="sumire_1-1715587340222.png" alt="sumire_1-1715587340222.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm looking for a suitable method.&lt;BR /&gt;If you know of a better way, please let me know.&lt;SPAN&gt;se add this macro code in the Excel workbook&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 20:17:47 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110566#M49851</guid>
      <dc:creator>faheemsd</dc:creator>
      <dc:date>2024-05-15T20:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Excel values ​​including color information</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110573#M49853</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/296"&gt;@sumire&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can achieve this with the help of the macro.&lt;/P&gt;&lt;P&gt;Create a Excel template with Macro Enabled workbook, copy your original excel data into the Macro Enabled workbook and the run the macro which will give the results in Sheet2&lt;BR /&gt;Sample Excel Data&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_0-1715805136094.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38232iA6EDE8FFBA3922F3/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_0-1715805136094.png" alt="faheemsd_0-1715805136094.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Macro name and Macro code:&amp;nbsp;&lt;STRONG&gt;GetFontColorsInColumnA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Function GetColorName(colorValue As Long) As String&lt;BR /&gt;' This function converts the font color value to a known color name&lt;BR /&gt;' You can add more color mappings if needed&lt;BR /&gt;&lt;BR /&gt;Select Case colorValue&lt;BR /&gt;Case RGB(0, 0, 0)&lt;BR /&gt;GetColorName = "Black"&lt;BR /&gt;Case RGB(255, 255, 255)&lt;BR /&gt;GetColorName = "White"&lt;BR /&gt;Case RGB(255, 0, 0)&lt;BR /&gt;GetColorName = "Red"&lt;BR /&gt;Case RGB(0, 255, 0)&lt;BR /&gt;GetColorName = "Green"&lt;BR /&gt;Case RGB(0, 0, 255)&lt;BR /&gt;GetColorName = "Blue"&lt;BR /&gt;Case RGB(255, 255, 0)&lt;BR /&gt;GetColorName = "Yellow"&lt;BR /&gt;Case RGB(255, 165, 0)&lt;BR /&gt;GetColorName = "Orange"&lt;BR /&gt;Case RGB(128, 0, 128)&lt;BR /&gt;GetColorName = "Purple"&lt;BR /&gt;Case RGB(255, 192, 203)&lt;BR /&gt;GetColorName = "Pink"&lt;BR /&gt;Case RGB(128, 128, 128)&lt;BR /&gt;GetColorName = "Gray"&lt;BR /&gt;Case RGB(192, 192, 192)&lt;BR /&gt;GetColorName = "Silver"&lt;BR /&gt;Case RGB(0, 128, 0)&lt;BR /&gt;GetColorName = "Dark Green"&lt;BR /&gt;Case RGB(0, 128, 128)&lt;BR /&gt;GetColorName = "Teal"&lt;BR /&gt;Case RGB(128, 0, 0)&lt;BR /&gt;GetColorName = "Maroon"&lt;BR /&gt;Case RGB(128, 128, 0)&lt;BR /&gt;GetColorName = "Olive"&lt;BR /&gt;Case RGB(0, 0, 128)&lt;BR /&gt;GetColorName = "Navy"&lt;BR /&gt;Case RGB(75, 0, 130)&lt;BR /&gt;GetColorName = "Indigo"&lt;BR /&gt;Case RGB(255, 69, 0)&lt;BR /&gt;GetColorName = "Orange Red"&lt;BR /&gt;Case RGB(255, 20, 147)&lt;BR /&gt;GetColorName = "Deep Pink"&lt;BR /&gt;Case RGB(139, 69, 19)&lt;BR /&gt;GetColorName = "Saddle Brown"&lt;BR /&gt;Case RGB(210, 105, 30)&lt;BR /&gt;GetColorName = "Chocolate"&lt;BR /&gt;Case RGB(245, 245, 220)&lt;BR /&gt;GetColorName = "Beige"&lt;BR /&gt;Case RGB(220, 20, 60)&lt;BR /&gt;GetColorName = "Crimson"&lt;BR /&gt;Case Else&lt;BR /&gt;GetColorName = "Other"&lt;BR /&gt;End Select&lt;BR /&gt;End Function&lt;/P&gt;&lt;P&gt;Sub GetFontColorsInColumnA()&lt;BR /&gt;Dim wsInput As Worksheet&lt;BR /&gt;Dim wsOutput As Worksheet&lt;BR /&gt;Dim cell As Range&lt;BR /&gt;Dim fontColorName As String&lt;BR /&gt;Dim fontColorValue As Long&lt;BR /&gt;Dim lastRow As Long&lt;BR /&gt;Dim outputRow As Long&lt;/P&gt;&lt;P&gt;' Set the input and output worksheets&lt;BR /&gt;Set wsInput = ThisWorkbook.Sheets("Sheet1")&lt;BR /&gt;On Error Resume Next&lt;BR /&gt;Set wsOutput = ThisWorkbook.Sheets("Sheet2")&lt;BR /&gt;If wsOutput Is Nothing Then&lt;BR /&gt;Set wsOutput = ThisWorkbook.Sheets.Add(After:=ThisWorkbook.Sheets(ThisWorkbook.Sheets.Count))&lt;BR /&gt;wsOutput.Name = "Sheet2"&lt;BR /&gt;End If&lt;BR /&gt;On Error GoTo 0&lt;/P&gt;&lt;P&gt;' Clear any existing data in the output sheet&lt;BR /&gt;wsOutput.Cells.Clear&lt;/P&gt;&lt;P&gt;' Write headers to the output sheet&lt;BR /&gt;wsOutput.Cells(1, 1).Value = "Name"&lt;BR /&gt;wsOutput.Cells(1, 2).Value = "Font Color"&lt;/P&gt;&lt;P&gt;' Get the last row with data in the input sheet&lt;BR /&gt;lastRow = wsInput.Cells(wsInput.Rows.Count, "A").End(xlUp).Row&lt;/P&gt;&lt;P&gt;' Iterate through each cell in column A of the input sheet&lt;BR /&gt;outputRow = 2 ' Start from row 2 to skip header&lt;BR /&gt;For Each cell In wsInput.Range("A2:A" &amp;amp; lastRow)&lt;BR /&gt;fontColorValue = cell.Font.Color&lt;BR /&gt;&lt;BR /&gt;' Determine the font color name&lt;BR /&gt;fontColorName = GetColorName(fontColorValue)&lt;BR /&gt;&lt;BR /&gt;' Write the name and font color name to the output sheet&lt;BR /&gt;wsOutput.Cells(outputRow, 1).Value = cell.Value&lt;BR /&gt;wsOutput.Cells(outputRow, 2).Value = fontColorName&lt;BR /&gt;&lt;BR /&gt;outputRow = outputRow + 1&lt;BR /&gt;Next cell&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;Please add the above code in the Macro Enabled worksheet&lt;/P&gt;&lt;P&gt;My output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_1-1715805288747.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38233i2E0CE57C409AC8E8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_1-1715805288747.png" alt="faheemsd_1-1715805288747.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Try with Blue Prism to generate the output in Sheet2 and read as Collection&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_2-1715805427502.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38234iB4221B0C809726FB/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_2-1715805427502.png" alt="faheemsd_2-1715805427502.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_3-1715805449298.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38235i2A260A6A85E84083/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_3-1715805449298.png" alt="faheemsd_3-1715805449298.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_4-1715805478597.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38236i29AEEED1B543A2FC/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_4-1715805478597.png" alt="faheemsd_4-1715805478597.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please try the above approach and let me know if you need any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 20:40:15 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/110573#M49853</guid>
      <dc:creator>faheemsd</dc:creator>
      <dc:date>2024-05-15T20:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to read Excel values ​​including color information</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/111007#M50005</link>
      <description>&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;The results of considering this issue are as follows:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add a symbol to identify the color before colored text using an Excel macro&lt;/LI&gt;&lt;LI&gt;Get an Excel sheet into a collection in a Blue Prism process&lt;/LI&gt;&lt;LI&gt;Add a column 'color' and write in the 'color' column while removing symbols to identify the color.&lt;/LI&gt;&lt;LI&gt;Use the Excel macro to delete the color identification symbol added to the Excel sheet.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 30 May 2024 09:13:52 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-read-Excel-values-including-color-information/m-p/111007#M50005</guid>
      <dc:creator>sumire</dc:creator>
      <dc:date>2024-05-30T09:13:52Z</dc:date>
    </item>
  </channel>
</rss>

