<?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: Remove Duplicates from excel in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56066#M10317</link>
    <description>Thank you &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1843"&gt;@devneetmohanty07&lt;/a&gt;&amp;nbsp;, this resolved my query! &lt;BR /&gt;Also, I have posted a new query on "Delete rows based on a column value from excel having huge data"&lt;BR /&gt;Can you please have a look at that too...&lt;BR /&gt;&amp;nbsp;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shweta Dharmadhikari&lt;BR /&gt;RPA developer&lt;BR /&gt;Accenture Solutions Pvt Ltd&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 08 Jun 2022 14:01:00 GMT</pubDate>
    <dc:creator>Shwetavd</dc:creator>
    <dc:date>2022-06-08T14:01:00Z</dc:date>
    <item>
      <title>Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56040#M10291</link>
      <description>Hello All&lt;BR /&gt;&lt;BR /&gt;Am looking a a code that is able to remove all duplicates from excel directly. I do not want to take the data in a collection and then remove duplicates because of huge volume. The de-duping must happen on the basis of all columns of excel and not just one defined column.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your guidance&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Nupur&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nupur Sood&lt;BR /&gt;Research Associate&lt;BR /&gt;S&amp;amp;P&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Dec 2020 15:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56040#M10291</guid>
      <dc:creator>NupurSood</dc:creator>
      <dc:date>2020-12-02T15:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56041#M10292</link>
      <description>Are you writing your own code, trying to automate Excel via the UI, or working with one of the Excel VBOs on the DX? There is a deduplication method on the Range object in VBA. You can find more about it &lt;A href="https://docs.microsoft.com/en-us/office/vba/api/excel.range.removeduplicates" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Unfortunately, this feature isn't included in the Excel VBOs provided by BP at the moment, but with the Microsoft documentation referenced above you should be able to add it to your local VBO.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Dec 2020 18:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56041#M10292</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-12-02T18:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56042#M10293</link>
      <description>Am trying to utilize one of the excel VBOs itself and add a page to it that removes dupes by taking into consideration all the columns of excel.&amp;nbsp;&lt;BR /&gt;My challenge is converting "&lt;SPAN&gt;Columns:=Array(1,2)" to the format that VB would accept. I keep running into type mismatch error.&lt;BR /&gt;&lt;BR /&gt;Thanks&amp;nbsp;&lt;BR /&gt;Nupur&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nupur Sood&lt;BR /&gt;Research Associate&lt;BR /&gt;S&amp;amp;P&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Dec 2020 18:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56042#M10293</guid>
      <dc:creator>NupurSood</dc:creator>
      <dc:date>2020-12-02T18:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56043#M10294</link>
      <description>Can you share a screenshot of your code or copy-and-paste it in the thread?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Dec 2020 18:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56043#M10294</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-12-02T18:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56044#M10295</link>
      <description>Hello, Nupur,&lt;BR /&gt;&lt;BR /&gt;how are you :)?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you need to consider all columns and you are familiar with C# (may be there is an alternative in VBA) then this one line code does what you need &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Output_Collection = Input_Collection.DefaultView.ToTable( /*distinct*/ true);&lt;BR /&gt;&lt;BR /&gt;The input parameter to the action is the collection - you get it from Excel via Get Worksheet (I know you know it) - and output collection is only unique rows.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Zdeněk Kabátek&lt;BR /&gt;Head of Professional Services&lt;BR /&gt;NEOOPS&lt;BR /&gt;&lt;A href="http://www.neoops.com/" target="test_blank"&gt;http://www.neoops.com/&lt;/A&gt;&lt;BR /&gt;Europe/Prague&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Dec 2020 15:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56044#M10295</guid>
      <dc:creator>zdenek.kabatek</dc:creator>
      <dc:date>2020-12-03T15:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56045#M10296</link>
      <description>Hello Zdenek&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Very well, hoping the same for you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; And thank you for coming to rescue.&lt;BR /&gt;&amp;nbsp;Am afraid that the collection approach does not work for me since the amount of data in my excel is huge (~50,000 rows) and getting data into collection freezes up my&amp;nbsp; BP. Am trying to achieve the same directly in excel instead.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nupur Sood&lt;BR /&gt;Research Associate&lt;BR /&gt;S&amp;amp;P&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Dec 2020 17:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56045#M10296</guid>
      <dc:creator>NupurSood</dc:creator>
      <dc:date>2020-12-03T17:12:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56046#M10297</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1003"&gt;@NupurSood&lt;/a&gt; another way you can achieve this since you're digital worker will need a running instance of Excel is to simply attach to that instance and perform the deduplication via the Excel UI which is detailed in the following article:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://support.microsoft.com/en-us/office/find-and-remove-duplicates-00e35bea-b46a-4d5d-b28e-66a552dc138d" target="_blank" rel="noopener"&gt;https://support.microsoft.com/en-us/office/find-and-remove-duplicates-00e35bea-b46a-4d5d-b28e-66a552dc138d&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Dec 2020 17:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56046#M10297</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-12-03T17:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56047#M10298</link>
      <description>Thank You for your response. Below is the code am using for reference and the challenge is to pass array of column numbers instead of just one column in the highlighted portion&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26199.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26331i1CDB756DFCF5E5A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="26199.png" alt="26199.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nupur Sood&lt;BR /&gt;Research Associate&lt;BR /&gt;S&amp;amp;P&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Dec 2020 17:25:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56047#M10298</guid>
      <dc:creator>NupurSood</dc:creator>
      <dc:date>2020-12-03T17:25:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56048#M10299</link>
      <description>Thank You&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I can adopt this approach but I was hoping to do something directly via code stage to be able to have more optimal/robust solution. If I am unable to crack the code, this would be helpful.&amp;nbsp;&lt;BR /&gt;Thanks again for all your guidance.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nupur Sood&lt;BR /&gt;Research Associate&lt;BR /&gt;S&amp;amp;P&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Dec 2020 17:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56048#M10299</guid>
      <dc:creator>NupurSood</dc:creator>
      <dc:date>2020-12-03T17:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56049#M10300</link>
      <description>Hey Nupur,&lt;BR /&gt;&lt;BR /&gt;You can achieve this using Code stage and have to write custom code along adding related dll and namespace.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Nilesh&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nilesh Jadhav &lt;BR /&gt;Senior RPA Specialist&lt;BR /&gt;ADP&lt;BR /&gt;India&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Dec 2020 17:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56049#M10300</guid>
      <dc:creator>NileshJadhavBP</dc:creator>
      <dc:date>2020-12-03T17:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56050#M10301</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1003"&gt;@NupurSood&lt;/a&gt; I think part of the problem is your "Columns" entry. The method expects a Variant array of column indexes. However, Variant is no longer a supported type, so I think you can create an array of Object type (which will just be the column indices). Here's an example:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;Dim varData(2) As Object
varData(0) = "1"
varData(1) = "2"

ws.Range("A1:C100").RemoveDuplicates(Columns:=varData, Header:=2)
​&lt;/CODE&gt;&lt;/PRE&gt;
&amp;nbsp;​&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Dec 2020 18:10:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56050#M10301</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-12-03T18:10:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56051#M10302</link>
      <description>&lt;P&gt;Hi Nupur,&lt;BR /&gt;You can use the below code&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Dim wb,ws, dup as object &lt;BR /&gt;&lt;BR /&gt;try &lt;BR /&gt;&lt;BR /&gt;wb= getworkbook(handle,workbook)&lt;BR /&gt;ws= getworksheet(handle,workbook, worksheet)&lt;BR /&gt;&lt;BR /&gt;dup= ws.application.range(Input_Range).removeduplicates(columns:=1)&lt;BR /&gt;&lt;BR /&gt;success= True &lt;BR /&gt;&lt;BR /&gt;Catch e as exception &lt;BR /&gt;success = False &lt;BR /&gt;Message = e.message&lt;BR /&gt;Finally &lt;BR /&gt;wb=nothing &lt;BR /&gt;ws=nothing &lt;BR /&gt;dup=nothing &lt;BR /&gt;end try&lt;BR /&gt;&lt;BR /&gt;You have to supply inputs for&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Workbook as text&lt;BR /&gt;2. Worksheet as text&amp;nbsp;&lt;BR /&gt;3. input_Range as text Eg. for full column it will be "B:B" for anything else "A1:B8"&lt;/P&gt;
&lt;P&gt;4. handle as number&amp;nbsp;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;be mindful of the column number you are entering in the line&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dup= ws.application.range(Input_Range).removeduplicates(columns:=1)&lt;/P&gt;
&lt;P&gt;'here in this example its column A&lt;/P&gt;
&lt;P&gt;1 refers to column A&amp;nbsp;&lt;BR /&gt;2 refers to columns B&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good luck&amp;nbsp;&lt;/P&gt;
&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Susamay Halder Consultant&lt;BR /&gt;Consultant&lt;BR /&gt;Bruce Power&lt;BR /&gt;+1(437)217-1086&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Dec 2020 21:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56051#M10302</guid>
      <dc:creator>sonuiiml</dc:creator>
      <dc:date>2020-12-03T21:43:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56052#M10303</link>
      <description>Thanks Eric&lt;BR /&gt;&lt;BR /&gt;I get the below shown error with the Array defined as suggested.&amp;nbsp;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26207.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26340i528E000A4837D10F/image-size/large?v=v2&amp;amp;px=999" role="button" title="26207.png" alt="26207.png" /&gt;&lt;/span&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="26208.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/26337i2DBF9D9740AF31D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="26208.png" alt="26208.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Regards&lt;/DIV&gt;
&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nupur Sood&lt;BR /&gt;Research Associate&lt;BR /&gt;S&amp;amp;P&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Dec 2020 12:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56052#M10303</guid>
      <dc:creator>NupurSood</dc:creator>
      <dc:date>2020-12-04T12:20:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56053#M10304</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1003"&gt;@NupurSood&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Do you want to remove the duplicates based on one specific column value or you wanted to compare the full rows and then remove the data?&lt;/P&gt;
&lt;P&gt;Since the code stage will vary based on the requirement. Please confirm and i can share the code with you. :)​​​&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ritansh Jatwani&lt;BR /&gt;Consultant&lt;BR /&gt;EY&lt;BR /&gt;Gurgaon&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Dec 2020 15:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56053#M10304</guid>
      <dc:creator>ritansh.jatwani</dc:creator>
      <dc:date>2020-12-04T15:45:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56054#M10305</link>
      <description>Hello &lt;A class="user-content-mention" data-sign="@" data-contactkey="73ff97c8-015d-47b9-b6bf-c975a3f339eb" data-tag-text="@Ritansh Jatwani" href="https://community.blueprism.com/network/profile?UserKey=73ff97c8-015d-47b9-b6bf-c975a3f339eb" data-itemmentionkey="f7074d21-1288-440e-a187-12876ee0feff"&gt;@Ritansh Jatwani&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I am looking at comparing full row please​&lt;BR /&gt;&lt;BR /&gt;Thanks&amp;nbsp;&lt;BR /&gt;Nupur&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nupur Sood&lt;BR /&gt;Research Associate&lt;BR /&gt;S&amp;amp;P&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Dec 2020 16:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56054#M10305</guid>
      <dc:creator>NupurSood</dc:creator>
      <dc:date>2020-12-04T16:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56055#M10306</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1003"&gt;@NupurSood&lt;/a&gt; It seems to be a rather weird conflict between VBA and VB.NET. It doesn't help that the documentation for the Excel interop library is vague as well. What I've found is similar to what Susamay posted below. It seems if you pass in a single column index things work fine. Alternatively, you can pass in an array of indices if you know them ahead of time. Here are examples of both approaches that I've verified on my machine:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;ws.Range(myRange).RemoveDuplicates(Columns:=New Object() {1, 2}, Header:=1)&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;or&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;ws.Range(myRange).RemoveDuplicates(1,1)&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;The first example shows how you could pass in an array of indices. I've tried pulling that array creation out and assigning it to an actual Object variable, but the same data type exception is thrown. Very weird. The second example shows passing in a single column index.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Dec 2020 17:13:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56055#M10306</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2020-12-04T17:13:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56056#M10307</link>
      <description>Hi Nupur,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Were you able to get a custom code that works for this scenario?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Archana R&lt;BR /&gt;Consultant&lt;BR /&gt;Deloitte&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Aug 2021 14:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56056#M10307</guid>
      <dc:creator>ArchanaR</dc:creator>
      <dc:date>2021-08-13T14:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56057#M10308</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I previously created a vbo to do this but it does work on a named worksheet and range so you would need to do it for each worksheet but the range you can set to whatever you need to be. See below:&lt;BR /&gt;&lt;BR /&gt;Dim wb, ws As Object&lt;BR /&gt;Dim excel, sheet, range As Object&lt;BR /&gt;&lt;BR /&gt;wb = GetWorkbook(Handle, Workbook)&lt;BR /&gt;ws = GetWorksheet(Handle, Workbook, Worksheet)&lt;BR /&gt;&lt;BR /&gt;wb.Activate()&lt;BR /&gt;ws.Activate()&lt;BR /&gt;excel = ws.Application&lt;BR /&gt;sheet = excel.ActiveSheet&lt;BR /&gt;range = sheet.Range(Reference)&lt;BR /&gt;range.Select()&lt;BR /&gt;&lt;BR /&gt;'Range("B2178:F2187").Select&lt;BR /&gt;ws.Range(Reference).RemoveDuplicates (Columns:=Column_number, Header:= 2)&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael ONeil&lt;BR /&gt;Technical Lead developer&lt;BR /&gt;Everis Consultancy&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Aug 2021 15:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56057#M10308</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2021-08-13T15:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56058#M10309</link>
      <description>&lt;DIV class="co8aDb XcVN5d" aria-level="3" role="heading"&gt;&lt;B&gt;Remove duplicate values&lt;/B&gt;&lt;/DIV&gt;
&lt;DIV class="RqBzHd"&gt;
&lt;OL class="X5LH0c"&gt;
&lt;LI class="TrT0Xe"&gt;Select the range of cells that has duplicate values you want to remove. Tip: Remove any outlines or subtotals from your data before trying to remove duplicates.&lt;/LI&gt;
&lt;LI class="TrT0Xe"&gt;Click Data &amp;gt; Remove Duplicates, and then Under Columns, check or uncheck the columns where you want to remove the duplicates. ...&lt;/LI&gt;
&lt;LI class="TrT0Xe"&gt;Click OK.&lt;/LI&gt;
&lt;/OL&gt;
&lt;BR /&gt;
&lt;DIV class="co8aDb XcVN5d" aria-level="3" role="heading"&gt;&lt;B&gt;Follow these steps:&lt;/B&gt;&lt;/DIV&gt;
&lt;DIV class="RqBzHd"&gt;
&lt;OL class="X5LH0c"&gt;
&lt;LI class="TrT0Xe"&gt;Select the range of cells, or ensure that the active cell is in a table.&lt;/LI&gt;
&lt;LI class="TrT0Xe"&gt;On the Data tab, click Remove Duplicates (in the Data Tools group).&lt;/LI&gt;
&lt;LI class="TrT0Xe"&gt;Do one or more of the following: &lt;SPAN style="color: #333333;"&gt;&lt;A href="https://wallmountedhub.com/best-mount-for-plaster-walls/" target="_blank" rel="noopener" style="color: #333333;"&gt;television wall mount at wallmountedhub&lt;/A&gt;&lt;/SPAN&gt;...&lt;/LI&gt;
&lt;LI class="TrT0Xe"&gt;Click OK, and a message will appear to indicate how many duplicate values were removed, or how many unique values remain.&lt;/LI&gt;
&lt;/OL&gt;
&lt;SPAN&gt;If you want to remove duplicate data from a list you can use Remove Duplicates function in excel directly, then the unique data will be saved in the list, the duplicate one will be removed. But if you want to remove both duplicates from your list,&amp;nbsp;&lt;/SPAN&gt;&lt;B&gt;this function cannot help you&lt;/B&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;rwe sbokas&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sun, 15 Aug 2021 22:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56058#M10309</guid>
      <dc:creator>rwesbokas</dc:creator>
      <dc:date>2021-08-15T22:40:00Z</dc:date>
    </item>
    <item>
      <title>RE: Remove Duplicates from excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56059#M10310</link>
      <description>Hi, Nupur,&lt;BR /&gt;&lt;BR /&gt;if you want one row code solution I can offer you in C# (you can change the language in VBO in Code Option I guess you know where)&lt;BR /&gt;&lt;BR /&gt;Output_Collection = Input_Collection.DefaultView.ToTable( /*distinct*/ true);&lt;BR /&gt;&lt;BR /&gt;Put above code in code stage. Input parameter is Input Collection and output parameter is Output_Collection. That returns only rows which are unique and compares all the columns.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Zdenek&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Zdeněk Kabátek&lt;BR /&gt;Head of Professional Services&lt;BR /&gt;NEOOPS&lt;BR /&gt;&lt;A href="http://www.neoops.com/" target="test_blank"&gt;http://www.neoops.com/&lt;/A&gt;&lt;BR /&gt;Europe/Prague&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Aug 2021 06:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Remove-Duplicates-from-excel/m-p/56059#M10310</guid>
      <dc:creator>zdenek.kabatek</dc:creator>
      <dc:date>2021-08-16T06:32:00Z</dc:date>
    </item>
  </channel>
</rss>

