<?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 Using collection to form loops on excel in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Using-collection-to-form-loops-on-excel/m-p/91226#M41287</link>
    <description>Hi

I am stuck on trying to use collections to form a loop process on excel.

E.g. I have 5 rows stored in the collection, I want to form a loop so that it goes through each row one at a time (by using 'save as' before the loop end). I am trying to do this using the "Write Collection" on MS Excel VBO. But the problem I'm having is that this is writing the 5 rows at once rather than doing them one at a time.

Is there a trick to using the "Write Collection" function so that is works through the rows one at a time, or is there any other way I should tackle this problem?

Thanks</description>
    <pubDate>Wed, 08 Feb 2017 21:34:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-08T21:34:00Z</dc:date>
    <item>
      <title>Using collection to form loops on excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-collection-to-form-loops-on-excel/m-p/91226#M41287</link>
      <description>Hi

I am stuck on trying to use collections to form a loop process on excel.

E.g. I have 5 rows stored in the collection, I want to form a loop so that it goes through each row one at a time (by using 'save as' before the loop end). I am trying to do this using the "Write Collection" on MS Excel VBO. But the problem I'm having is that this is writing the 5 rows at once rather than doing them one at a time.

Is there a trick to using the "Write Collection" function so that is works through the rows one at a time, or is there any other way I should tackle this problem?

Thanks</description>
      <pubDate>Wed, 08 Feb 2017 21:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-collection-to-form-loops-on-excel/m-p/91226#M41287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-08T21:34:00Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-collection-to-form-loops-on-excel/m-p/91227#M41288</link>
      <description>Hi,
You can put your collection in a loop and use ""Set cell value"" action to write the values one at a time.
Inside the loop put a calculation which you will use to set the cell address[i.e A1,A2...] and pass the same cell address value as input to the action ""Set cell value"".
Regards,
Ravinder</description>
      <pubDate>Thu, 09 Feb 2017 09:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-collection-to-form-loops-on-excel/m-p/91227#M41288</guid>
      <dc:creator>Ravindersaini</dc:creator>
      <dc:date>2017-02-09T09:54:00Z</dc:date>
    </item>
  </channel>
</rss>

