<?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 Intend to add Worksheet in a Workbook (csv file) in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Intend-to-add-Worksheet-in-a-Workbook-csv-file/m-p/81517#M33078</link>
    <description>Hello,&lt;BR /&gt;This could be easy and simple to most of you and need help. I have an existing csv file with one worksheet. I want to add another worksheet with just one row but it ended up overwriting the existing worksheet. Below is what I did:&lt;BR /&gt;1) define new collection&amp;nbsp; and&amp;nbsp; add fields --&amp;gt; named "Payinfo"&lt;BR /&gt;2) use MS Excel&amp;nbsp; VBO&amp;nbsp; - Open Workbook&amp;nbsp;&lt;BR /&gt;3) use MS Excel&amp;nbsp; VBO - Create Worksheet&amp;nbsp; --&amp;gt; to create another sheet named "Payment_info"&lt;BR /&gt;4) use calculation&amp;nbsp; to assign value and Store in the collection field&amp;nbsp; example: Payinfo.PaymentID&lt;BR /&gt;5) use calculation stage to assign value to CelRef example: "A"&amp;amp;[ctr]&amp;nbsp; &amp;nbsp; note that ctr&amp;nbsp; equals to 1&lt;BR /&gt;6) use MS Excel&amp;nbsp; VBO&amp;nbsp; - Write Collection&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23439.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23574i52EF3045DEB0C8DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="23439.png" alt="23439.png" /&gt;&lt;/span&gt;7)&amp;nbsp; use MS Excel&amp;nbsp; VBO - Close Workbook&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; use MS Excel&amp;nbsp; VBO - Close Instance&lt;BR /&gt;&lt;BR /&gt;After the Close instance stage , the Payment_info worksheet overwrite the existing worksheet.&amp;nbsp; I need both worksheet (the current and new one) . Am I missing something? please help me why is it overwriting the existing worksheet?&lt;BR /&gt;Appreciate it.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marilyn Gagarin&lt;BR /&gt;Senior Programmer/Analyst&lt;BR /&gt;United Rental, Inc.&lt;BR /&gt;America/New_York&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Sat, 02 Apr 2022 07:19:00 GMT</pubDate>
    <dc:creator>mgagarin1</dc:creator>
    <dc:date>2022-04-02T07:19:00Z</dc:date>
    <item>
      <title>Intend to add Worksheet in a Workbook (csv file)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Intend-to-add-Worksheet-in-a-Workbook-csv-file/m-p/81517#M33078</link>
      <description>Hello,&lt;BR /&gt;This could be easy and simple to most of you and need help. I have an existing csv file with one worksheet. I want to add another worksheet with just one row but it ended up overwriting the existing worksheet. Below is what I did:&lt;BR /&gt;1) define new collection&amp;nbsp; and&amp;nbsp; add fields --&amp;gt; named "Payinfo"&lt;BR /&gt;2) use MS Excel&amp;nbsp; VBO&amp;nbsp; - Open Workbook&amp;nbsp;&lt;BR /&gt;3) use MS Excel&amp;nbsp; VBO - Create Worksheet&amp;nbsp; --&amp;gt; to create another sheet named "Payment_info"&lt;BR /&gt;4) use calculation&amp;nbsp; to assign value and Store in the collection field&amp;nbsp; example: Payinfo.PaymentID&lt;BR /&gt;5) use calculation stage to assign value to CelRef example: "A"&amp;amp;[ctr]&amp;nbsp; &amp;nbsp; note that ctr&amp;nbsp; equals to 1&lt;BR /&gt;6) use MS Excel&amp;nbsp; VBO&amp;nbsp; - Write Collection&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23439.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23574i52EF3045DEB0C8DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="23439.png" alt="23439.png" /&gt;&lt;/span&gt;7)&amp;nbsp; use MS Excel&amp;nbsp; VBO - Close Workbook&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; use MS Excel&amp;nbsp; VBO - Close Instance&lt;BR /&gt;&lt;BR /&gt;After the Close instance stage , the Payment_info worksheet overwrite the existing worksheet.&amp;nbsp; I need both worksheet (the current and new one) . Am I missing something? please help me why is it overwriting the existing worksheet?&lt;BR /&gt;Appreciate it.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marilyn Gagarin&lt;BR /&gt;Senior Programmer/Analyst&lt;BR /&gt;United Rental, Inc.&lt;BR /&gt;America/New_York&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 02 Apr 2022 07:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Intend-to-add-Worksheet-in-a-Workbook-csv-file/m-p/81517#M33078</guid>
      <dc:creator>mgagarin1</dc:creator>
      <dc:date>2022-04-02T07:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: Intend to add Worksheet in a Workbook (csv file)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Intend-to-add-Worksheet-in-a-Workbook-csv-file/m-p/81518#M33079</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/2114"&gt;@mgagarin1&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;A CSV file is a flat-file ​which can only contain one set of data at a time. When Excel imports it, it puts it into an Excel worksheet that is part of an Excel workbook. The problem you are experiencing is that by saving the workbook back to the CSV format, Excel can only export the data on the first worksheet back into the CSV flat-file.&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>Sat, 02 Apr 2022 14:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Intend-to-add-Worksheet-in-a-Workbook-csv-file/m-p/81518#M33079</guid>
      <dc:creator>MichealCharron</dc:creator>
      <dc:date>2022-04-02T14:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: Intend to add Worksheet in a Workbook (csv file)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Intend-to-add-Worksheet-in-a-Workbook-csv-file/m-p/81519#M33080</link>
      <description>Hi Micheal,&lt;BR /&gt;&amp;nbsp;I was thinking that csv is like xlsx when it comes to worksheets.&amp;nbsp; I got it&amp;nbsp; now and I am all set. Thank you!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marilyn Gagarin&lt;BR /&gt;Senior Programmer/Analyst&lt;BR /&gt;United Rental, Inc.&lt;BR /&gt;America/New_York&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Apr 2022 04:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Intend-to-add-Worksheet-in-a-Workbook-csv-file/m-p/81519#M33080</guid>
      <dc:creator>mgagarin1</dc:creator>
      <dc:date>2022-04-04T04:02:00Z</dc:date>
    </item>
    <item>
      <title>RE: Intend to add Worksheet in a Workbook (csv file)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Intend-to-add-Worksheet-in-a-Workbook-csv-file/m-p/81520#M33081</link>
      <description>Hi Marilyn,&lt;BR /&gt;&lt;BR /&gt;We have a similar situation where we need to save worksheet data when Office is down (again...) with a license issue. In such cases the process diverts to creating CSV files, one for each worksheet, and adding the name of the intended worksheet to the CSV file name.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Happy coding!&lt;BR /&gt;Paul&lt;BR /&gt;Sweden&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Apr 2022 12:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Intend-to-add-Worksheet-in-a-Workbook-csv-file/m-p/81520#M33081</guid>
      <dc:creator>PvD_SE</dc:creator>
      <dc:date>2022-04-04T12:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: Intend to add Worksheet in a Workbook (csv file)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Intend-to-add-Worksheet-in-a-Workbook-csv-file/m-p/81521#M33082</link>
      <description>I like the idea adding worksheet name in csv filename. Thanks Paul.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Marilyn Gagarin&lt;BR /&gt;Senior Programmer/Analyst&lt;BR /&gt;United Rental, Inc.&lt;BR /&gt;America/New_York&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Apr 2022 19:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Intend-to-add-Worksheet-in-a-Workbook-csv-file/m-p/81521#M33082</guid>
      <dc:creator>mgagarin1</dc:creator>
      <dc:date>2022-04-04T19:09:00Z</dc:date>
    </item>
  </channel>
</rss>

