<?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: Excel Tabs in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Excel-Tabs/m-p/102478#M49201</link>
    <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="aa8acfaf-56a9-44fb-9372-da19c9f13e6f" data-tag-text="@Rinesh Singh" href="https://community.blueprism.com/network/profile?UserKey=aa8acfaf-56a9-44fb-9372-da19c9f13e6f" data-itemmentionkey="4ee33c2b-70e9-4863-ab2c-23098c14c002"&gt;@Rinesh Singh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Just checking if you were you able to resolve your issue?​</description>
    <pubDate>Mon, 30 May 2022 08:03:07 GMT</pubDate>
    <dc:creator>devneetmohanty07</dc:creator>
    <dc:date>2022-05-30T08:03:07Z</dc:date>
    <item>
      <title>Excel Tabs</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-Tabs/m-p/102475#M49198</link>
      <description>Hi All,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am working with multiple tabs in excel and the requirement is to change the tab to a certain color. Eg. If a spreadsheet contains a specific keyword than the tab color should be changed to "Red". Does Blue Prism have functionality to change the tab color on an excel spreadsheet?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;thank you</description>
      <pubDate>Wed, 25 May 2022 14:14:18 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-Tabs/m-p/102475#M49198</guid>
      <dc:creator>Rinesh</dc:creator>
      <dc:date>2022-05-25T14:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Tabs</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-Tabs/m-p/102476#M49199</link>
      <description>Hi Rinesh,&lt;BR /&gt;&lt;BR /&gt;Currently, I don't think there is any action to achieve this functionality in the current 'MS Excel' or 'MS Excel - Extended' VBO perhaps someone can confirm on the same as well.&lt;BR /&gt;&lt;BR /&gt;But you can achieve this functionality by extending either 'MS Excel' or 'MS Excel - Extended' VBO by creating a new action within the object. &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000"&gt;&lt;STRONG&gt;NOTE: I would recommend create a duplicate object of these objects and make your changes there so that you always have a backup with you in case anything goes wrong.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Now, you need to create a new action in your already existing Excel VBO business object named &lt;STRONG&gt;'Change Worksheet Tab Color'&amp;nbsp;&lt;/STRONG&gt;and provide the following input parameters to your action:&lt;BR /&gt;&lt;BR /&gt;Handle : This is a number type data item which will hold the current session dictionary value.&lt;BR /&gt;&lt;BR /&gt;Workbook : This is a text type data item where you need to pass the workbook name that you might get from 'Create Workbook' or 'Open Workbook' action.&lt;BR /&gt;&lt;BR /&gt;Worksheet: This is a text type data item which indicates the name of the worksheet in your excel workbook file whose tab color you want to change.&lt;BR /&gt;&lt;BR /&gt;R : This is a number type data item which can consists of value ranging between 0 and 255 in order to determine the red color pixel in your RGB color combination.&lt;BR /&gt;&lt;BR /&gt;G : This is a number type data item which can consists of value ranging between 0 and 255 in order to determine the green color pixel in your RGB color combination.&lt;BR /&gt;&lt;BR /&gt;B : This is a number type data item which can consists of value ranging between 0 and 255 in order to determine the blue color pixel in your RGB color combination.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="37055.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/37068iE6D31962A72C411F/image-size/large?v=v2&amp;amp;px=999" role="button" title="37055.png" alt="37055.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Now, you can add a code stage named &lt;STRONG&gt;'Change Worksheet Tab Color' &lt;/STRONG&gt;and add the following inputs parameter and map the data items to it:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="37056.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/37066iA5345C180D54BC88/image-size/large?v=v2&amp;amp;px=999" role="button" title="37056.png" alt="37056.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline"&gt;&lt;STRONG&gt;Code:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="37057.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/37067i50C5088242B2B2C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="37057.png" alt="37057.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-vbnet"&gt;&lt;CODE&gt;Dim ws, excel, sheet As Object

ws = GetWorksheet(Handle, Workbook, Worksheet)

ws.Activate()

excel = ws.Application
sheet = excel.ActiveSheet

sheet.Tab.Color = RGB(R, G, B)​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BR /&gt;&lt;BR /&gt;You should have your workflow ready as shown below:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="37058.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/37069i446A61DC3BF4C906/image-size/large?v=v2&amp;amp;px=999" role="button" title="37058.png" alt="37058.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Now, publish your action and then use all the actions of the same business object where you have done the changes in your process studio while interacting with the excel file in order to avoid any exceptions. I have a sample process studio workflow shown below:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="37059.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/37076i1E559FF4C4FEF6C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="37059.png" alt="37059.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Here, I am creating an excel instance, then opening my excel file, then making it visible on the screen and then I use my new created action which has the below parameters:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="37060.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/37070iD87D541FE38A1FC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="37060.png" alt="37060.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;So here since my R value is 255 which is maximum while G and B values are 0 hence, the resultant color would be red since R is dominant and has maximum value which means that tab color of my&lt;STRONG&gt; 'Parameters'&lt;/STRONG&gt; sheet should be &lt;STRONG&gt;&lt;SPAN style="color: #ff0000"&gt;Red&lt;/SPAN&gt;&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Now, before running this action my file looks like this:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="37061.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/37073i95D75BD7F72A1665/image-size/large?v=v2&amp;amp;px=999" role="button" title="37061.png" alt="37061.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;After executing the action, you can observe below that the color of the sheet tab got converted to Red:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="37062.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/37075i46C21ABDE8CF21D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="37062.png" alt="37062.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;So just by manipulating with the R, G and B input parameters in this action you can change any specific worksheet tab to any color you want.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;----------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Devneet Mohanty&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wonderbotz India Pvt. Ltd.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Website:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://devneet.github.io/" target="_blank" rel="noopener"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Email:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="mailto:devneetmohanty07@gmail.com" target="_blank" rel="noopener"&gt;devneetmohanty07@gmail.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;----------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;------------------------------&lt;/SPAN&gt;</description>
      <pubDate>Wed, 25 May 2022 22:43:03 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-Tabs/m-p/102476#M49199</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-05-25T22:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Tabs</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-Tabs/m-p/102477#M49200</link>
      <description>Hi Devneet,&lt;BR /&gt;&lt;BR /&gt;Firstly, thank you for taking the time to look into this functionality in such detail - its appreciated.&amp;nbsp;&lt;BR /&gt;I have also looked at the existing functionality available in the Standard Excel and the extended version and was not able to find tab color related functions.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I will definitely give the below an attempt and feedback here on the results.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks once again</description>
      <pubDate>Thu, 26 May 2022 06:25:59 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-Tabs/m-p/102477#M49200</guid>
      <dc:creator>Rinesh</dc:creator>
      <dc:date>2022-05-26T06:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Tabs</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-Tabs/m-p/102478#M49201</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="aa8acfaf-56a9-44fb-9372-da19c9f13e6f" data-tag-text="@Rinesh Singh" href="https://community.blueprism.com/network/profile?UserKey=aa8acfaf-56a9-44fb-9372-da19c9f13e6f" data-itemmentionkey="4ee33c2b-70e9-4863-ab2c-23098c14c002"&gt;@Rinesh Singh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Just checking if you were you able to resolve your issue?​</description>
      <pubDate>Mon, 30 May 2022 08:03:07 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-Tabs/m-p/102478#M49201</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-05-30T08:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Tabs</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-Tabs/m-p/102479#M49202</link>
      <description>Thanks Devneet, this solution worked perfectly.</description>
      <pubDate>Wed, 01 Jun 2022 06:24:32 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-Tabs/m-p/102479#M49202</guid>
      <dc:creator>Rinesh</dc:creator>
      <dc:date>2022-06-01T06:24:32Z</dc:date>
    </item>
  </channel>
</rss>

