<?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: I want to uncheck the filter value from a specified column in Excel. in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/I-want-to-uncheck-the-filter-value-from-a-specified-column-in/m-p/111409#M50119</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/59284"&gt;@Karthik.choppadandi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure follow this steps :&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 : Open Ms Excel VBO and add a new page Apply Filter like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_0-1718132570449.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38540i49B83BC4A3083F66/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_0-1718132570449.png" alt="Mohamad_747_0-1718132570449.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Add a code stage, name it apply filter, and provide this input see below:&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-1718132691860.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38541i3AC609CBD4554398/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_1-1718132691860.png" alt="Mohamad_747_1-1718132691860.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="Mohamad_747_2-1718132719669.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38542i9BD778285806083C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_2-1718132719669.png" alt="Mohamad_747_2-1718132719669.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="Mohamad_747_3-1718132871352.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38543i0117C633FEA19B58/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_3-1718132871352.png" alt="Mohamad_747_3-1718132871352.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the code part put this :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Dim ws as Object, strList as Object&lt;/DIV&gt;&lt;DIV&gt;dim ColNum as Integer&lt;/DIV&gt;&lt;DIV&gt;Dim dt As Object&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;message = ""&lt;/DIV&gt;&lt;DIV&gt;ws = GetWorksheet(handle, workbookname, worksheetname)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Try&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If (criteriastring&amp;lt;&amp;gt;"") Then&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;strList = Split(criteriastring,"|",-1)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ColNum = ws.Range(range).Find(columnname).Column&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dt = New System.Data.DataTable()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dt.Columns.Add(columnname, GetType(String))&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim cell As Object&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For Each cell In ws.Range(range).Columns(ColNum).Cells&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dt.Rows.Add({cell.Value})&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Next&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim filterExpression As String = ""&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For Each criteria In strList&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If filterExpression &amp;lt;&amp;gt; "" Then filterExpression &amp;amp;= " AND "&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; filterExpression &amp;amp;= "[" &amp;amp; columnname &amp;amp; "] &amp;lt;&amp;gt; '" &amp;amp; criteria &amp;amp; "'"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Next&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim filteredRows() As System.Data.DataRow = dt.Select(filterExpression)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim filteredValues(filteredRows.Length - 1) As String&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For i As Integer = 0 To filteredRows.Length - 1&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; filteredValues(i) = filteredRows(i)(columnname).ToString()&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Next&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ws.Range(range).AutoFilter (Field:=ColNum, Criteria1:=filteredValues, Operator:=7)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;success = True&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Else&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;success = True&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;message = "CriteriaString should not be blank"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;End If&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Catch ex as exception&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;success = False&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;message = ex.Message&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;End Try&lt;/DIV&gt;&lt;P&gt;Finally it will 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_4-1718132895538.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38544i4B22923F53BA5CD7/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_4-1718132895538.png" alt="Mohamad_747_4-1718132895538.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Publish your action&lt;/P&gt;&lt;P&gt;and go to studio now&lt;/P&gt;&lt;P&gt;In my case i have this excel file&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_5-1718132962650.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38545iDC719079F4851E05/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_5-1718132962650.png" alt="Mohamad_747_5-1718132962650.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I will remove from column Education this 2 values [Doctoral and&amp;nbsp;Lower secondary]&lt;/P&gt;&lt;P&gt;Make your process look ike 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_6-1718133132083.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38546iC864AC49DDF2D578/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_6-1718133132083.png" alt="Mohamad_747_6-1718133132083.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Provide this parameters for the action Apply Filter like this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you want to remove Completed and Canceled you provide this&amp;nbsp;&lt;STRONG&gt;C&lt;/STRONG&gt;&lt;SPAN&gt;ANCELED|COMPLETED for Criteria String&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_7-1718133158098.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38547iC43BA2485D91AAEC/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_7-1718133158098.png" alt="Mohamad_747_7-1718133158098.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now save and run your code it will work &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&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_8-1718133355852.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38548iAA9B319BFD1B7B8D/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_8-1718133355852.png" alt="Mohamad_747_8-1718133355852.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please note that this action could take time because we are making a loop if you want to make the bot faster you can use oledb but you need the provider &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2024 19:18:31 GMT</pubDate>
    <dc:creator>Mohamad_Dakkouri</dc:creator>
    <dc:date>2024-06-11T19:18:31Z</dc:date>
    <item>
      <title>I want to uncheck the filter value from a specified column in Excel.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/I-want-to-uncheck-the-filter-value-from-a-specified-column-in/m-p/111372#M50111</link>
      <description>&lt;P&gt;I want to uncheck the filter values from a specified column in Excel.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 09:52:27 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/I-want-to-uncheck-the-filter-value-from-a-specified-column-in/m-p/111372#M50111</guid>
      <dc:creator>Karthik.choppadandi</dc:creator>
      <dc:date>2024-06-11T09:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: I want to uncheck the filter value from a specified column in Excel.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/I-want-to-uncheck-the-filter-value-from-a-specified-column-in/m-p/111382#M50114</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/59284"&gt;@Karthik.choppadandi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You mean turn the autofilter off ?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 13:55:29 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/I-want-to-uncheck-the-filter-value-from-a-specified-column-in/m-p/111382#M50114</guid>
      <dc:creator>Mohamad_Dakkouri</dc:creator>
      <dc:date>2024-06-11T13:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: I want to uncheck the filter value from a specified column in Excel.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/I-want-to-uncheck-the-filter-value-from-a-specified-column-in/m-p/111384#M50115</link>
      <description>&lt;P&gt;No, I want to uncheck the few values from the particular column. For example I want to uncheck "Completed" and "Cancelled" please find the screenshot..&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Karthikchoppadandi_0-1718115368144.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38536i7F24165B8396182E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Karthikchoppadandi_0-1718115368144.png" alt="Karthikchoppadandi_0-1718115368144.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 14:17:31 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/I-want-to-uncheck-the-filter-value-from-a-specified-column-in/m-p/111384#M50115</guid>
      <dc:creator>Karthik.choppadandi</dc:creator>
      <dc:date>2024-06-11T14:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: I want to uncheck the filter value from a specified column in Excel.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/I-want-to-uncheck-the-filter-value-from-a-specified-column-in/m-p/111385#M50116</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/59284"&gt;@Karthik.choppadandi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why you dont get the worksheet as collection and then you apply filter inside the collection ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do what you want by using a CUSTOM CODE STAGE on Excel VBO but you have native action that can do what you want.&lt;/P&gt;&lt;P&gt;If you want a CUSTOM code i can help you.&lt;/P&gt;&lt;P&gt;But if you prefer the native action in Blue Prism you can do this step :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drag and drop MS Excel VBO :&lt;/P&gt;&lt;P&gt;- Create instance&lt;/P&gt;&lt;P&gt;- Open Workbook&lt;/P&gt;&lt;P&gt;- Get Worksheet as collection&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Close Workbook&lt;/P&gt;&lt;P&gt;- Close instance&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then drag and drop an action and select&lt;/P&gt;&lt;P&gt;Collection Manipulation and then Filter Collection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Put in your filter&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"[ColumnName] Not in ('&lt;STRONG&gt;C&lt;/STRONG&gt;ANCELED','COMPLETED')"&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 14:35:38 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/I-want-to-uncheck-the-filter-value-from-a-specified-column-in/m-p/111385#M50116</guid>
      <dc:creator>Mohamad_Dakkouri</dc:creator>
      <dc:date>2024-06-11T14:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: I want to uncheck the filter value from a specified column in Excel.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/I-want-to-uncheck-the-filter-value-from-a-specified-column-in/m-p/111396#M50117</link>
      <description>&lt;P&gt;Thank you Mohamad,&lt;BR /&gt;I can't do that one. Because I have to apply a multiple filters to the multiple columns at the same time, I have a vba custom code to select multiple filter values and at the same time I want to exclude few values from multiple columns. So, that It will reflect the values in the other Sheet..&lt;BR /&gt;please help me with your custom code for excluding a values in a column..&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 16:27:07 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/I-want-to-uncheck-the-filter-value-from-a-specified-column-in/m-p/111396#M50117</guid>
      <dc:creator>Karthik.choppadandi</dc:creator>
      <dc:date>2024-06-11T16:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: I want to uncheck the filter value from a specified column in Excel.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/I-want-to-uncheck-the-filter-value-from-a-specified-column-in/m-p/111409#M50119</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/59284"&gt;@Karthik.choppadandi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sure follow this steps :&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 : Open Ms Excel VBO and add a new page Apply Filter like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_0-1718132570449.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38540i49B83BC4A3083F66/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_0-1718132570449.png" alt="Mohamad_747_0-1718132570449.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Add a code stage, name it apply filter, and provide this input see below:&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-1718132691860.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38541i3AC609CBD4554398/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_1-1718132691860.png" alt="Mohamad_747_1-1718132691860.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="Mohamad_747_2-1718132719669.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38542i9BD778285806083C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_2-1718132719669.png" alt="Mohamad_747_2-1718132719669.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="Mohamad_747_3-1718132871352.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38543i0117C633FEA19B58/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_3-1718132871352.png" alt="Mohamad_747_3-1718132871352.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the code part put this :&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Dim ws as Object, strList as Object&lt;/DIV&gt;&lt;DIV&gt;dim ColNum as Integer&lt;/DIV&gt;&lt;DIV&gt;Dim dt As Object&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;message = ""&lt;/DIV&gt;&lt;DIV&gt;ws = GetWorksheet(handle, workbookname, worksheetname)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Try&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If (criteriastring&amp;lt;&amp;gt;"") Then&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;strList = Split(criteriastring,"|",-1)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ColNum = ws.Range(range).Find(columnname).Column&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dt = New System.Data.DataTable()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dt.Columns.Add(columnname, GetType(String))&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim cell As Object&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For Each cell In ws.Range(range).Columns(ColNum).Cells&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dt.Rows.Add({cell.Value})&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Next&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim filterExpression As String = ""&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For Each criteria In strList&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If filterExpression &amp;lt;&amp;gt; "" Then filterExpression &amp;amp;= " AND "&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; filterExpression &amp;amp;= "[" &amp;amp; columnname &amp;amp; "] &amp;lt;&amp;gt; '" &amp;amp; criteria &amp;amp; "'"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Next&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim filteredRows() As System.Data.DataRow = dt.Select(filterExpression)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Dim filteredValues(filteredRows.Length - 1) As String&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; For i As Integer = 0 To filteredRows.Length - 1&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; filteredValues(i) = filteredRows(i)(columnname).ToString()&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Next&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ws.Range(range).AutoFilter (Field:=ColNum, Criteria1:=filteredValues, Operator:=7)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;success = True&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Else&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;success = True&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;message = "CriteriaString should not be blank"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;End If&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Catch ex as exception&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;success = False&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;message = ex.Message&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;End Try&lt;/DIV&gt;&lt;P&gt;Finally it will 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_4-1718132895538.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38544i4B22923F53BA5CD7/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_4-1718132895538.png" alt="Mohamad_747_4-1718132895538.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Publish your action&lt;/P&gt;&lt;P&gt;and go to studio now&lt;/P&gt;&lt;P&gt;In my case i have this excel file&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mohamad_747_5-1718132962650.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38545iDC719079F4851E05/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_5-1718132962650.png" alt="Mohamad_747_5-1718132962650.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I will remove from column Education this 2 values [Doctoral and&amp;nbsp;Lower secondary]&lt;/P&gt;&lt;P&gt;Make your process look ike 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_6-1718133132083.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38546iC864AC49DDF2D578/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_6-1718133132083.png" alt="Mohamad_747_6-1718133132083.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Provide this parameters for the action Apply Filter like this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you want to remove Completed and Canceled you provide this&amp;nbsp;&lt;STRONG&gt;C&lt;/STRONG&gt;&lt;SPAN&gt;ANCELED|COMPLETED for Criteria String&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_7-1718133158098.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38547iC43BA2485D91AAEC/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_7-1718133158098.png" alt="Mohamad_747_7-1718133158098.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now save and run your code it will work &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&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_8-1718133355852.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38548iAA9B319BFD1B7B8D/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Mohamad_747_8-1718133355852.png" alt="Mohamad_747_8-1718133355852.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please note that this action could take time because we are making a loop if you want to make the bot faster you can use oledb but you need the provider &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 19:18:31 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/I-want-to-uncheck-the-filter-value-from-a-specified-column-in/m-p/111409#M50119</guid>
      <dc:creator>Mohamad_Dakkouri</dc:creator>
      <dc:date>2024-06-11T19:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: I want to uncheck the filter value from a specified column in Excel.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/I-want-to-uncheck-the-filter-value-from-a-specified-column-in/m-p/111414#M50122</link>
      <description>&lt;P&gt;Thank you so much Mohamad, Your code is working as expected.. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 05:31:17 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/I-want-to-uncheck-the-filter-value-from-a-specified-column-in/m-p/111414#M50122</guid>
      <dc:creator>Karthik.choppadandi</dc:creator>
      <dc:date>2024-06-12T05:31:17Z</dc:date>
    </item>
  </channel>
</rss>

