<?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 Failed to copy and paste in excel sheet in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Failed-to-copy-and-paste-in-excel-sheet/m-p/60288#M13770</link>
    <description>&lt;P&gt;I am getting below error while running Blue Prism code, actually i am filtering duplicate and Unique value from Main excel sheet and pasting to another excel, how ever it is running fine in Debug mode. but getting errror while running the process using Blue Prism Desktop. Any help or suggestion to fix this issue.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Error : Failed to copy worksheet: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made, Ensure that your main function has STAThreadAttribute marked on it.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Niranjan Kumar&lt;BR /&gt;------------------------------&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jan 2024 08:59:00 GMT</pubDate>
    <dc:creator>NiranjanKumar</dc:creator>
    <dc:date>2024-01-02T08:59:00Z</dc:date>
    <item>
      <title>Failed to copy and paste in excel sheet</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Failed-to-copy-and-paste-in-excel-sheet/m-p/60288#M13770</link>
      <description>&lt;P&gt;I am getting below error while running Blue Prism code, actually i am filtering duplicate and Unique value from Main excel sheet and pasting to another excel, how ever it is running fine in Debug mode. but getting errror while running the process using Blue Prism Desktop. Any help or suggestion to fix this issue.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Error : Failed to copy worksheet: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made, Ensure that your main function has STAThreadAttribute marked on it.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Niranjan Kumar&lt;BR /&gt;------------------------------&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 08:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Failed-to-copy-and-paste-in-excel-sheet/m-p/60288#M13770</guid>
      <dc:creator>NiranjanKumar</dc:creator>
      <dc:date>2024-01-02T08:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: Failed to copy and paste in excel sheet</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Failed-to-copy-and-paste-in-excel-sheet/m-p/60289#M13771</link>
      <description>&lt;P&gt;Hi N,&lt;/P&gt;
&lt;P&gt;As a workaround you could copy the from-XL into a collection, then do your duplicate filtering on that collection, and finally write the filtered results from the collection to the to-XL.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Happy coding!&lt;BR /&gt;---------------&lt;BR /&gt;Paul&lt;BR /&gt;Sweden&lt;BR /&gt;&lt;BR /&gt;(By all means, do not mark this as the 'Best answer'! )&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jan 2024 11:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Failed-to-copy-and-paste-in-excel-sheet/m-p/60289#M13771</guid>
      <dc:creator>PvD_SE</dc:creator>
      <dc:date>2024-01-04T11:09:00Z</dc:date>
    </item>
  </channel>
</rss>

