<?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: Save Excel worksheet as csv in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/117912#M52585</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We were using MS office 365 Proplus and for xlCSVUTF8 = 62 to save the excel into CSV.&lt;/P&gt;&lt;P&gt;But now same code is not working for MS Office 2016 Professional Plus.&lt;/P&gt;&lt;P&gt;Can you please help us what should be used here. And after saving it, we are reading the CSV and writing it into CSV as UTF8 using Write Text file as UTF8.&lt;/P&gt;</description>
    <pubDate>Fri, 27 Dec 2024 10:25:01 GMT</pubDate>
    <dc:creator>VanithaK</dc:creator>
    <dc:date>2024-12-27T10:25:01Z</dc:date>
    <item>
      <title>Save Excel worksheet as csv</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/89591#M39953</link>
      <description>Newbee question so an example would be helpful...&lt;BR /&gt;&lt;BR /&gt;I'm looking for an action that saves a populated Excel worksheet as a .csv file.&lt;BR /&gt;&lt;BR /&gt;I expect I need to extend the existing VBO Excel SaveWorkbookAs action which uses the code:&lt;BR /&gt;wb.SaveAs(filename)&lt;BR /&gt;&lt;BR /&gt;to somehow use the VB parameter:
&lt;PRE class="lang-vb s-code-block"&gt;&lt;CODE class="hljs language-vbnet"&gt;xlCSV&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BR /&gt;Any tips on how I do that (or more specifically, the syntax)?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jeremy Dean&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Feb 2022 23:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/89591#M39953</guid>
      <dc:creator>JeremyRTDean</dc:creator>
      <dc:date>2022-02-23T23:43:00Z</dc:date>
    </item>
    <item>
      <title>RE: Save Excel worksheet as csv</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/89592#M39954</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="b7cc724a-cb19-4776-8900-9ab6d2595268" data-tag-text="@Jeremy Dean" href="https://community.blueprism.com/network/profile?UserKey=b7cc724a-cb19-4776-8900-9ab6d2595268" data-itemmentionkey="fea7358e-38c1-4950-9078-be3cf0b3a8e7"&gt;@Jeremy Dean&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Change the referenced line in the screen shot below to this:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-vbnet"&gt;&lt;CODE&gt;wb.SaveAs(filename, 6) ' 6 is the equivilent of the xlCSV enum entry.​&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="24137.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/24270i7628AC6F616D9F82/image-size/large?v=v2&amp;amp;px=999" role="button" title="24137.png" alt="24137.png" /&gt;&lt;/span&gt;&lt;BR /&gt;You might want to actually create a copy of the action first though. Assuming you want to change the action &lt;EM&gt;&lt;STRONG&gt;Save Workbook As&lt;/STRONG&gt;&lt;/EM&gt;, right click on the tab and choose &lt;STRONG&gt;Duplicate&lt;/STRONG&gt;.​ Give the new action a different name, like &lt;STRONG&gt;Save Workbook As CSV&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2022 00:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/89592#M39954</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-02-24T00:45:00Z</dc:date>
    </item>
    <item>
      <title>RE: Save Excel worksheet as csv</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/89593#M39955</link>
      <description>Thanks Eric,&lt;BR /&gt;&lt;BR /&gt;That was quick and helpful.&amp;nbsp; Using the enumeration value worked.&lt;BR /&gt;&lt;BR /&gt;Can I ask why we use the enumerated value 6 and not the parameter 'xlCSV'?&lt;BR /&gt;&lt;BR /&gt;So this works:&lt;BR /&gt;wb.SaveAs(filename, 6)&lt;BR /&gt;&lt;BR /&gt;But this does not:&lt;BR /&gt;wb.SaveAs(filename, xlCSV)&lt;BR /&gt;&lt;BR /&gt;There is a handy list of the Excel Save As types here:&lt;BR /&gt;&lt;A href="https://docs.microsoft.com/en-us/office/vba/api/excel.xlfileformat" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/office/vba/api/excel.xlfileformat&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jeremy Dean&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2022 02:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/89593#M39955</guid>
      <dc:creator>JeremyRTDean</dc:creator>
      <dc:date>2022-02-24T02:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: Save Excel worksheet as csv</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/89594#M39956</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="b7cc724a-cb19-4776-8900-9ab6d2595268" data-tag-text="@Jeremy Dean" href="https://community.blueprism.com/network/profile?UserKey=b7cc724a-cb19-4776-8900-9ab6d2595268" data-itemmentionkey="e8d53872-ed88-4d57-a42f-5ef62a3c184a"&gt;@Jeremy Dean&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;The XlFileFormat ​enum is defined in the Microsoft.Office.Interop.Excel namespace of the DLL by the same name. I don't recall specifically, but I don't think that DLL/namespace are defined on the VBO. If they were, you should be able to use the enum directly.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Feb 2022 03:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/89594#M39956</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-02-24T03:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Save Excel worksheet as csv</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/112670#M50478</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;&amp;nbsp;What if I want to save this file as a CSV UTF-8 file format&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 09:21:22 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/112670#M50478</guid>
      <dc:creator>Arman_K</dc:creator>
      <dc:date>2024-07-26T09:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Save Excel worksheet as csv</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/112679#M50479</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/60224"&gt;@Arman_K&lt;/a&gt;&amp;nbsp;we're updated the asset to include an additional input parameter on the &lt;EM&gt;&lt;STRONG&gt;Save Workbook As&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;action to let you specify one of the supported formats from Excel. Should be published later today.&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Eric&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 14:10:14 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/112679#M50479</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2024-07-26T14:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Save Excel worksheet as csv</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/112680#M50480</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/60224"&gt;@Arman_K&lt;/a&gt;&amp;nbsp;version 10.3.6 of the Excel VBO has been published with a new optional input parameter on the &lt;EM&gt;&lt;STRONG&gt;Save Workbook As&lt;/STRONG&gt;&lt;/EM&gt; and &lt;EM&gt;&lt;STRONG&gt;Save Current Workbook As&lt;/STRONG&gt;&lt;/EM&gt; actions. The new parameter, called &lt;STRONG&gt;File Format&lt;/STRONG&gt;, takes a numeric input that corresponds to the format you want to use. You can find a list of the Excel supported formats&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/office/vba/api/excel.xlfileformat" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. For UTF8 CSV you'd be looking at 62.&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Eric&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 17:36:30 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/112680#M50480</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2024-07-26T17:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Save Excel worksheet as csv</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/116391#M52177</link>
      <description>&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;I need to save my excel csv file as an xlsm file, as i need to use the oldeb actions.&lt;/P&gt;&lt;P&gt;i checked out the link you sent for excel supported formats and xlsm = 52&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have made a duplicate of the "save workbook as" action in excel vbo and input 52 into the code as you suggested above - see below code&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FrankieTEWV_0-1729513167090.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39627iB98E3694E0D8AA3A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="FrankieTEWV_0-1729513167090.png" alt="FrankieTEWV_0-1729513167090.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but I'm getting this error when running the action? is my code wrong or do you have any ideas why its not working?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FrankieTEWV_1-1729513235726.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39628i800C0927F17CE03F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="FrankieTEWV_1-1729513235726.png" alt="FrankieTEWV_1-1729513235726.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Frankie&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 12:23:05 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/116391#M52177</guid>
      <dc:creator>FrankieTEWV</dc:creator>
      <dc:date>2024-10-21T12:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Save Excel worksheet as csv</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/116393#M52178</link>
      <description>&lt;P&gt;sorry just to add i did see a save workbook as xlsm action under the MS Excel Extended vbo - ErnstYoung - so checked the code out on that and could see it was set as FileFormat:=52&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FrankieTEWV_2-1729513710223.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/39629i0F94DD2255D8F418/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="FrankieTEWV_2-1729513710223.png" alt="FrankieTEWV_2-1729513710223.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I did update the cod eon the one i have created but still get the same error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 12:30:50 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/116393#M52178</guid>
      <dc:creator>FrankieTEWV</dc:creator>
      <dc:date>2024-10-21T12:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Save Excel worksheet as csv</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/116395#M52180</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/45265"&gt;@FrankieTEWV&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bit of an odd error there. Not sure if it's saying there's an issue in the workbook or within the VBO trying to locate the instance. In your process are you creating a new instance of Excel or are you attaching to an existing instance?&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Eric&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 13:33:34 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/116395#M52180</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2024-10-21T13:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Save Excel worksheet as csv</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/117912#M52585</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We were using MS office 365 Proplus and for xlCSVUTF8 = 62 to save the excel into CSV.&lt;/P&gt;&lt;P&gt;But now same code is not working for MS Office 2016 Professional Plus.&lt;/P&gt;&lt;P&gt;Can you please help us what should be used here. And after saving it, we are reading the CSV and writing it into CSV as UTF8 using Write Text file as UTF8.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 10:25:01 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Save-Excel-worksheet-as-csv/m-p/117912#M52585</guid>
      <dc:creator>VanithaK</dc:creator>
      <dc:date>2024-12-27T10:25:01Z</dc:date>
    </item>
  </channel>
</rss>

