<?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: Replace break Line in Excel in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Replace-break-Line-in-Excel/m-p/65999#M18604</link>
    <description>Thank you it is working.&amp;nbsp;&lt;BR /&gt;Break line is replace.&lt;BR /&gt;&lt;BR /&gt;Do you know why&amp;nbsp; ASCII Characters are not working for replace function ?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mateusz Wojcik&lt;BR /&gt;RPA Programist&lt;BR /&gt;Rockwell Automation&lt;BR /&gt;Europe/Warsaw&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 03 Jul 2019 07:16:00 GMT</pubDate>
    <dc:creator>MateuszWojcik</dc:creator>
    <dc:date>2019-07-03T07:16:00Z</dc:date>
    <item>
      <title>Replace break Line in Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Replace-break-Line-in-Excel/m-p/65997#M18602</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I want to create object which will replace charecters using ASCII Characters as arguments. I need this object to delete all line breaks in excel file ( Chr(10)).&lt;BR /&gt;My code stage does not work when I use ASCII characters:&lt;BR /&gt;range.Replace(Chr(115), Chr(100))&lt;BR /&gt;&lt;BR /&gt;It&amp;nbsp; works when I use strings:&lt;BR /&gt;range.Replace("s", "d")&lt;BR /&gt;&lt;BR /&gt;Do you know how to create object to replace values using ASCII characters or how to delete all line breaks in excel sheet?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Chr(115) = "s"&lt;BR /&gt;Chr(100) = "d"&lt;BR /&gt;&lt;BR /&gt;THE WHOLE CODE&lt;BR /&gt;Dim wb, excel, range As ObjectDim wb, excel, range As Object&lt;BR /&gt;&lt;BR /&gt;Try&lt;BR /&gt;&lt;BR /&gt;wb = GetWorkbook(Handle, Workbook)&lt;BR /&gt;excel = wb.Application&lt;BR /&gt;range = excel.Selection&lt;BR /&gt;&lt;BR /&gt;'range.Replace("s", "d")&lt;BR /&gt;range.Replace(Chr(115), Chr(100))&lt;BR /&gt;&lt;BR /&gt;Success = True&lt;BR /&gt;Catch e As Exception &lt;BR /&gt;Success = False &lt;BR /&gt;Message = e.Message&lt;BR /&gt;&lt;BR /&gt;Finally &lt;BR /&gt;wb = Nothing &lt;BR /&gt;excel = Nothing &lt;BR /&gt;range = Nothing&lt;BR /&gt;&lt;BR /&gt;End Try&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you for your help&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mateusz Wojcik&lt;BR /&gt;RPA Programist&lt;BR /&gt;Rockwell Automation&lt;BR /&gt;Europe/Warsaw&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Jul 2019 12:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Replace-break-Line-in-Excel/m-p/65997#M18602</guid>
      <dc:creator>MateuszWojcik</dc:creator>
      <dc:date>2019-07-02T12:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: Replace break Line in Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Replace-break-Line-in-Excel/m-p/65998#M18603</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;
&lt;P&gt;range.Replace(vbLf, "")&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Gopal Bhaire&lt;BR /&gt;Analyst&lt;BR /&gt;Accenture&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2019 06:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Replace-break-Line-in-Excel/m-p/65998#M18603</guid>
      <dc:creator>GopalBhaire</dc:creator>
      <dc:date>2019-07-03T06:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Replace break Line in Excel</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Replace-break-Line-in-Excel/m-p/65999#M18604</link>
      <description>Thank you it is working.&amp;nbsp;&lt;BR /&gt;Break line is replace.&lt;BR /&gt;&lt;BR /&gt;Do you know why&amp;nbsp; ASCII Characters are not working for replace function ?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mateusz Wojcik&lt;BR /&gt;RPA Programist&lt;BR /&gt;Rockwell Automation&lt;BR /&gt;Europe/Warsaw&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2019 07:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Replace-break-Line-in-Excel/m-p/65999#M18604</guid>
      <dc:creator>MateuszWojcik</dc:creator>
      <dc:date>2019-07-03T07:16:00Z</dc:date>
    </item>
  </channel>
</rss>

