<?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 Hi eemme, in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/MS-Excel-VBO-will-not-paste-my-text-value-error-message/m-p/89656#M40012</link>
    <description>Hi eemme,
I am having the same issue where I have copied a table from another program and need to simply paste it into a new excel spreadsheet. It works fine if I do it manually by using ctrl+v but I get the error message 'PasteSpecial method of Range class failed' when I try using BP. Is there a way to send global send keys using MS Excel VBO? Or is there something else I can do to paste this table?
Thanks!</description>
    <pubDate>Tue, 21 Mar 2017 17:41:00 GMT</pubDate>
    <dc:creator>KevinMcKenzie</dc:creator>
    <dc:date>2017-03-21T17:41:00Z</dc:date>
    <item>
      <title>MS Excel VBO will not paste my text value, error message: 'PasteSpecial method of Range class failed'</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Excel-VBO-will-not-paste-my-text-value-error-message/m-p/89654#M40010</link>
      <description>Hi all,

I am working on creating a queue from a web-based application. It was not possible to use 'Get Table', so instead I am using 'Get HTML' and storing this in a Text type Data item. After this, I want to copy this into an Excel, to get a list of numbers that I can then populate my queue with. However, I don't seem to be able to paste the data. I am using the standard MS Excel VBO, with the following sequence of actions: 
- Create Instance
- Create Workbook
- Create Worksheet
- Write to Clipboard 

So far so good, this all works and I know that the data is in my clipboard because if I go to Excel manually at this point I can paste the data.

Then I use the 'Paste' action from MS Excel VBO, and it keeps giving the following error message: 'Failed to paste from clipboard: PasteSpecial method of Range class failed'.

Can anyone help me solve this? I have already tried the following things:
- Activate workbook/worksheet/both before attempting to paste
- Leaving out the 'Create Worksheet' action
- Showing the Excel before attempting to paste
- 'Values only' input parameter 'True' and 'False'

Thanks for your help!</description>
      <pubDate>Thu, 24 Nov 2016 21:07:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Excel-VBO-will-not-paste-my-text-value-error-message/m-p/89654#M40010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-24T21:07:00Z</dc:date>
    </item>
    <item>
      <title>Hi kvanhal,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Excel-VBO-will-not-paste-my-text-value-error-message/m-p/89655#M40011</link>
      <description>Hi kvanhal,

'Failed to paste from clipboard: PasteSpecial method of Range class failed' occurs because either the object is empty or it has not target.
With ""paste"" you throw your data into a workbook, rather worksheet with selected cell.

Instead, try to use the action ""set cell value"", define your destination cell (i.e. ""A1"") and give it a re-run.

Hope that works!</description>
      <pubDate>Fri, 25 Nov 2016 00:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Excel-VBO-will-not-paste-my-text-value-error-message/m-p/89655#M40011</guid>
      <dc:creator>EnricoEmme2</dc:creator>
      <dc:date>2016-11-25T00:14:00Z</dc:date>
    </item>
    <item>
      <title>Hi eemme,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Excel-VBO-will-not-paste-my-text-value-error-message/m-p/89656#M40012</link>
      <description>Hi eemme,
I am having the same issue where I have copied a table from another program and need to simply paste it into a new excel spreadsheet. It works fine if I do it manually by using ctrl+v but I get the error message 'PasteSpecial method of Range class failed' when I try using BP. Is there a way to send global send keys using MS Excel VBO? Or is there something else I can do to paste this table?
Thanks!</description>
      <pubDate>Tue, 21 Mar 2017 17:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Excel-VBO-will-not-paste-my-text-value-error-message/m-p/89656#M40012</guid>
      <dc:creator>KevinMcKenzie</dc:creator>
      <dc:date>2017-03-21T17:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hi eemme,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Excel-VBO-will-not-paste-my-text-value-error-message/m-p/89657#M40013</link>
      <description>Any word on this? I'm having the exact same problem. Converting to a collection and using the Write function is not an option because I have a large data set that takes too long to write in.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bryant Backus&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Dec 2019 01:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Excel-VBO-will-not-paste-my-text-value-error-message/m-p/89657#M40013</guid>
      <dc:creator>Bryant.backus</dc:creator>
      <dc:date>2019-12-05T01:22:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hi eemme,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Excel-VBO-will-not-paste-my-text-value-error-message/m-p/89658#M40014</link>
      <description>Blueprism action "Paste" is actially &lt;STRONG&gt;PasteSpecial&lt;/STRONG&gt;, not what you get when pressing ctrl-v. Make new action with ws.&lt;STRONG&gt;Paste&lt;/STRONG&gt;, it would work.&lt;BR /&gt;Writing big collection to excel is actually fast, unless you use default blueprism write action.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Andrey Kudinov&lt;BR /&gt;Project Manager&lt;BR /&gt;MobileTelesystems PJSC&lt;BR /&gt;Europe/Moscow&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Dec 2019 15:01:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Excel-VBO-will-not-paste-my-text-value-error-message/m-p/89658#M40014</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2019-12-05T15:01:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hi eemme,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/MS-Excel-VBO-will-not-paste-my-text-value-error-message/m-p/89659#M40015</link>
      <description>Thank you, &lt;BR /&gt;&lt;BR /&gt;I ended up finding a work around for my particular case. &lt;BR /&gt;&lt;BR /&gt;Originally I had my table in a collection and wrote code to write the collection to my clipboard. Once on the clipboard. I went into the Excel VBO and created an action that combined the "activate worksheet" and "go to cell pages" with a navigation stage that sent a global sendkey for CTRL v to Excel. To do that I had to open the application modeler and create the link between the VBO so that it would attach to an already running instance of Excel.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My final solution, to avoid sendkeys, was to use the "Get collection as CSV" action in the strings utility VBO. I then used the "Append text to file" Action in the file management VBO to create a temporary csv file. I then used the "Import csv to Excel" in the excel VBO to write the csv to the target sheet.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm sure a similar approach can be taken even if you don't have the table as a collection if you use the get clipboard as collection action.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bryant Backus&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Dec 2019 15:33:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/MS-Excel-VBO-will-not-paste-my-text-value-error-message/m-p/89659#M40015</guid>
      <dc:creator>Bryant.backus</dc:creator>
      <dc:date>2019-12-06T15:33:00Z</dc:date>
    </item>
  </channel>
</rss>

