<?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: No idea why clicking mouse… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-Paste-Collection-into-Workbook-Speed/m-p/85595#M36567</link>
    <description>&lt;P&gt;Hi Ben,&lt;BR /&gt;&lt;BR /&gt;The 'rewrite' is not so much a programming effort as it is deploying the BP OLEDB object rather than another BP VBO to extract data from an XL. The OLEDB object can be used to SQL against an XL file and get its contents to a Collection. As it does use a better/more speedy method, it uses less memory which can be a life saver for large XLs. Search the community for OLEDB and you should find many postings on this subject.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;A href="https://community.blueprism.com/communities/community-home/digestviewer/view-question?ContributedContentKey=f5603485-f4b5-4db8-99d6-f87551a0978a&amp;amp;CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01#15210f59-c72e-46dd-952e-86d817ae7fae" target="test_blank"&gt;https://community.blueprism.com/communities/community-home/digestviewer/view-question?ContributedContentKey=f5603485-f4b5-4db8-99d6-f87551a0978a&amp;amp;CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01#15210f59-c72e-46dd-952e-86d817ae7fae&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&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;</description>
    <pubDate>Wed, 18 Jan 2023 06:16:00 GMT</pubDate>
    <dc:creator>PvD_SE</dc:creator>
    <dc:date>2023-01-18T06:16:00Z</dc:date>
    <item>
      <title>Excel VBO Paste Collection into Workbook Speed</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-Paste-Collection-into-Workbook-Speed/m-p/85592#M36564</link>
      <description>I had an interesting observation earlier while watching a process running - the default action to paste a collection into Excel was taking roughly six seconds per line. However, if I were to hold down the left click of the mouse,&amp;nbsp;the speed increased to 1.5 lines per second. Does anyone have an idea what causes this difference in speed or have an idea how to implement this knowledge into increasing the speed of this action? My process is pasting thousands of lines per month, so this could result in dozens of hours saved, especially when up against a system deadline.</description>
      <pubDate>Sat, 29 Sep 2018 01:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-Paste-Collection-into-Workbook-Speed/m-p/85592#M36564</guid>
      <dc:creator>MichaelNiemeyer</dc:creator>
      <dc:date>2018-09-29T01:14:00Z</dc:date>
    </item>
    <item>
      <title>No idea why clicking mouse…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-Paste-Collection-into-Workbook-Speed/m-p/85593#M36565</link>
      <description>No idea why clicking mouse makes default action faster - try disabling events. Maybe holding LMB somehow does the same thing.
In general, if you want to write to excel faster, rewrite default action to move collection to object array, then write it to excel in one OLE call (instead of writing cells one by one).&amp;nbsp;You'll have a huge performance gains on collections over 1000+ rows (it writes all in a few seconds this way).&amp;nbsp;</description>
      <pubDate>Sat, 29 Sep 2018 22:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-Paste-Collection-into-Workbook-Speed/m-p/85593#M36565</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2018-09-29T22:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: No idea why clicking mouse…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-Paste-Collection-into-Workbook-Speed/m-p/85594#M36566</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/769"&gt;@AndreyKudinov&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I came across this post while experiencing a similar Excel issue. Would you be able to elaborate on how to "&lt;EM&gt;rewrite the default action to move the collection to an object array&lt;/EM&gt;" please, as per your previous post? ​How do I go about writing it in one OLE call?&lt;BR /&gt;&lt;BR /&gt;Many thanks for your help,&lt;BR /&gt;Kind regards,&lt;BR /&gt;Ben&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Benjamin Anderson,&lt;BR /&gt;Senior Consultant,&lt;BR /&gt;UK&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jan 2023 22:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-Paste-Collection-into-Workbook-Speed/m-p/85594#M36566</guid>
      <dc:creator>BenAnderson</dc:creator>
      <dc:date>2023-01-17T22:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: No idea why clicking mouse…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-Paste-Collection-into-Workbook-Speed/m-p/85595#M36567</link>
      <description>&lt;P&gt;Hi Ben,&lt;BR /&gt;&lt;BR /&gt;The 'rewrite' is not so much a programming effort as it is deploying the BP OLEDB object rather than another BP VBO to extract data from an XL. The OLEDB object can be used to SQL against an XL file and get its contents to a Collection. As it does use a better/more speedy method, it uses less memory which can be a life saver for large XLs. Search the community for OLEDB and you should find many postings on this subject.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;A href="https://community.blueprism.com/communities/community-home/digestviewer/view-question?ContributedContentKey=f5603485-f4b5-4db8-99d6-f87551a0978a&amp;amp;CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01#15210f59-c72e-46dd-952e-86d817ae7fae" target="test_blank"&gt;https://community.blueprism.com/communities/community-home/digestviewer/view-question?ContributedContentKey=f5603485-f4b5-4db8-99d6-f87551a0978a&amp;amp;CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01#15210f59-c72e-46dd-952e-86d817ae7fae&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&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;</description>
      <pubDate>Wed, 18 Jan 2023 06:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-Paste-Collection-into-Workbook-Speed/m-p/85595#M36567</guid>
      <dc:creator>PvD_SE</dc:creator>
      <dc:date>2023-01-18T06:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: No idea why clicking mouse…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-Paste-Collection-into-Workbook-Speed/m-p/85596#M36568</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="de174bf5-6083-4a8a-ad87-756bfc5e25d8" data-tag-text="@Benjamin Anderson" href="https://community.blueprism.com/network/profile?UserKey=de174bf5-6083-4a8a-ad87-756bfc5e25d8" data-itemmentionkey="fca3742b-e355-4666-b754-1068dceb66ac"&gt;@Benjamin Anderson&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;If you download Blue Prism's latest MS Excel VBO from the DX (&lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/ms-excel-vbo" target="_blank" rel="noopener"&gt;Blue Prism Digital Exchange - Blue Prism's MS Excel VBO&lt;/A&gt;), there is a action called "Write Collection (Fast)" which does what &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/769"&gt;@AndreyKudinov&lt;/a&gt; was talking about (all those years ago).​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Micheal Charron&lt;BR /&gt;Senior Manager&lt;BR /&gt;RBC&lt;BR /&gt;America/Toronto&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jan 2023 15:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-Paste-Collection-into-Workbook-Speed/m-p/85596#M36568</guid>
      <dc:creator>MichealCharron</dc:creator>
      <dc:date>2023-01-18T15:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: No idea why clicking mouse…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-Paste-Collection-into-Workbook-Speed/m-p/85597#M36569</link>
      <description>Thanks &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2208"&gt;@PvD_SE&lt;/a&gt;, I'll certainly check that out thanks.&lt;BR /&gt;Ben​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Benjamin Anderson,&lt;BR /&gt;Senior Consultant,&lt;BR /&gt;UK&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jan 2023 09:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-Paste-Collection-into-Workbook-Speed/m-p/85597#M36569</guid>
      <dc:creator>BenAnderson</dc:creator>
      <dc:date>2023-01-23T09:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: No idea why clicking mouse…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-Paste-Collection-into-Workbook-Speed/m-p/85598#M36570</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/548"&gt;@MichealCharron&lt;/a&gt;, I'll have be sure to have a look at that.&lt;BR /&gt;Many thanks for your reply,&lt;BR /&gt;Ben​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Benjamin Anderson,&lt;BR /&gt;Senior Consultant,&lt;BR /&gt;UK&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jan 2023 10:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-Paste-Collection-into-Workbook-Speed/m-p/85598#M36570</guid>
      <dc:creator>BenAnderson</dc:creator>
      <dc:date>2023-01-23T10:00:00Z</dc:date>
    </item>
  </channel>
</rss>

