<?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: Freeze panes in University Forum</title>
    <link>https://community.blueprism.com/t5/University-Forum/Freeze-panes/m-p/78800#M576</link>
    <description>Hi Ravi,&lt;BR /&gt;&lt;BR /&gt;I am attaching the code file here as I am not able to attach the same while editing my posts.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&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;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Sun, 08 May 2022 10:05:00 GMT</pubDate>
    <dc:creator>devneetmohanty07</dc:creator>
    <dc:date>2022-05-08T10:05:00Z</dc:date>
    <item>
      <title>Freeze panes</title>
      <link>https://community.blueprism.com/t5/University-Forum/Freeze-panes/m-p/78798#M574</link>
      <description>Hi ,&amp;nbsp; I want to freeze panes for a particular row in excel,&lt;BR /&gt;Could any one have the code to achieve that.&lt;BR /&gt;&lt;BR /&gt;Thanks ,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ravi kiran P&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 06 May 2022 13:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Freeze-panes/m-p/78798#M574</guid>
      <dc:creator>Ravikiran44</dc:creator>
      <dc:date>2022-05-06T13:12:00Z</dc:date>
    </item>
    <item>
      <title>RE: Freeze panes</title>
      <link>https://community.blueprism.com/t5/University-Forum/Freeze-panes/m-p/78799#M575</link>
      <description>Hi Ravi,&lt;BR /&gt;&lt;BR /&gt;For your desired use case please follow the below steps to create a new action for performing the required operation.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;NOTE: You should ideally create a duplicate business object for the same and do the required modifications so that the original business object is not affected and you can use it for reference.&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;Create a new action called '&lt;STRONG&gt;Freeze Panes&lt;/STRONG&gt;' within the '&lt;STRONG&gt;MS Excel&lt;/STRONG&gt;' VBO object which consists of other actions. Add the following input parameters to this action:&lt;BR /&gt;&lt;BR /&gt;- Handle (Number) : The instance of the excel sessions held in the dictionary to establish the current excel connection.&lt;BR /&gt;&lt;BR /&gt;- Workbook (Text) : The workbook name returned while using either 'Open Workbook' or 'Create Workbook' actions.&lt;BR /&gt;&lt;BR /&gt;- Worksheet (Text) : The worksheet name where the operation needs to be performed.&lt;BR /&gt;&lt;BR /&gt;- Cell Reference : The cell address from where the freeze pane action needs to be performed.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Solution Workflow:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32043.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/32154iE486D6AB1812A5F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="32043.png" alt="32043.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;Add the code stage named &lt;STRONG&gt;'Freeze Pane'&lt;/STRONG&gt; with the following parameters and code:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32044.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/32152iE44849DF8A6BACB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="32044.png" alt="32044.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Code:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32045.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/32156i04EA7B7BDB94DDDB/image-size/large?v=v2&amp;amp;px=999" role="button" title="32045.png" alt="32045.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;CODE&gt;Dim wb, ws As Object&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;Dim excel, sheet, range As Object&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;wb = GetWorkbook(Handle, Workbook)&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;ws = GetWorksheet(Handle, Workbook, Worksheet)&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;wb.Activate()&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;ws.Activate()&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;excel = ws.Application&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;sheet = excel.ActiveSheet&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;range = sheet.Range(Reference)&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;range.Rows(1).Select()&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;excel.ActiveWindow.FreezePanes = True&lt;/CODE&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Test Scenario:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;I have created a workflow and provide the parameters for 'Freeze Pane' action as follows in the process studio:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32046.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/32158iABC872D80B174CD7/image-size/large?v=v2&amp;amp;px=999" role="button" title="32046.png" alt="32046.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32047.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/32155iFF0505BC0E5481BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="32047.png" alt="32047.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;NOTE: Ensure that all the actions are used from the same VBO where Freeze Pane action has been created in order to avoid unexpected errors.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;The input file before execution looks like below:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32048.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/32160iA3AF856C6CD4106A/image-size/large?v=v2&amp;amp;px=999" role="button" title="32048.png" alt="32048.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Upon executing the workflow, the results are as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32049.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/32159i2B692E063B603B67/image-size/large?v=v2&amp;amp;px=999" role="button" title="32049.png" alt="32049.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Here, the freeze pane has been added at the given cell reference.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you out and if my solution resolves your query, then please mark it as the &lt;STRONG&gt;'Best Answer'&lt;/STRONG&gt; so that the others members in the community having similar problem statement can track the answer easily in future&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 08 May 2022 09:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Freeze-panes/m-p/78799#M575</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-05-08T09:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Freeze panes</title>
      <link>https://community.blueprism.com/t5/University-Forum/Freeze-panes/m-p/78800#M576</link>
      <description>Hi Ravi,&lt;BR /&gt;&lt;BR /&gt;I am attaching the code file here as I am not able to attach the same while editing my posts.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&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;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 08 May 2022 10:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Freeze-panes/m-p/78800#M576</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-05-08T10:05:00Z</dc:date>
    </item>
  </channel>
</rss>

