<?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: using vb.net for MS Excel in blue prism code stages in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/using-vb-net-for-MS-Excel-in-blue-prism-code-stages/m-p/99029#M46657</link>
    <description>&lt;P&gt;
&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Write out the code in VBA and step through the routine in the Excel VBA Editor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;B&gt;&lt;U&gt;THEN:&lt;/U&gt;&lt;/B&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Remove all uses all the Set keyword.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Replace all Excel enumeration terms with the Int32 value (so e.g xlValues might be -4192). You can do this by running to a breakpoint in Excel and then hover over all such enum values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Always use parentheses for function calls and enclose arguments.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Get rid of any Call keywords.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Always Use the Return keyword to return a function output, instead of assigning the value to the Function name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. Consider the better Boolean operators in VB.NET (i.e The If operator, AndAlso, OrElse)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8. Arrays don't use LBound and UBound - instead use Array.GetUpperBound, and GetLowerBound&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;9. You can only create 0-based Arrays easily in VB.NET, unless you use the Array.CreateInstance overload that allows other bounds.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 21:51:56 GMT</pubDate>
    <dc:creator>Anton__Hosang</dc:creator>
    <dc:date>2024-02-01T21:51:56Z</dc:date>
    <item>
      <title>using vb.net for MS Excel in blue prism code stages</title>
      <link>https://community.blueprism.com/t5/Product-Forum/using-vb-net-for-MS-Excel-in-blue-prism-code-stages/m-p/99028#M46656</link>
      <description>&lt;P&gt;I am trying to create code stages to extend excel functionalities in blue prism MS excel vbo.&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;In order to generate the code for specific functions like highlight cell, filter column, etc. the code available online in ms documentation is in VBA.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I am not able to convert it into vb.net!&lt;/P&gt;
&lt;P&gt;I need advice how to learn to convert the excel vba code&amp;nbsp; into vb.net , please share any method to learn to convert the code like tutorial, books, etc.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 17:28:40 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/using-vb-net-for-MS-Excel-in-blue-prism-code-stages/m-p/99028#M46656</guid>
      <dc:creator>abhisachdev</dc:creator>
      <dc:date>2024-02-01T17:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: using vb.net for MS Excel in blue prism code stages</title>
      <link>https://community.blueprism.com/t5/Product-Forum/using-vb-net-for-MS-Excel-in-blue-prism-code-stages/m-p/99029#M46657</link>
      <description>&lt;P&gt;
&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Write out the code in VBA and step through the routine in the Excel VBA Editor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;B&gt;&lt;U&gt;THEN:&lt;/U&gt;&lt;/B&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Remove all uses all the Set keyword.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Replace all Excel enumeration terms with the Int32 value (so e.g xlValues might be -4192). You can do this by running to a breakpoint in Excel and then hover over all such enum values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Always use parentheses for function calls and enclose arguments.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Get rid of any Call keywords.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Always Use the Return keyword to return a function output, instead of assigning the value to the Function name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. Consider the better Boolean operators in VB.NET (i.e The If operator, AndAlso, OrElse)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8. Arrays don't use LBound and UBound - instead use Array.GetUpperBound, and GetLowerBound&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;9. You can only create 0-based Arrays easily in VB.NET, unless you use the Array.CreateInstance overload that allows other bounds.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 21:51:56 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/using-vb-net-for-MS-Excel-in-blue-prism-code-stages/m-p/99029#M46657</guid>
      <dc:creator>Anton__Hosang</dc:creator>
      <dc:date>2024-02-01T21:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: using vb.net for MS Excel in blue prism code stages</title>
      <link>https://community.blueprism.com/t5/Product-Forum/using-vb-net-for-MS-Excel-in-blue-prism-code-stages/m-p/99030#M46658</link>
      <description>&lt;P&gt;To my knowledge there is no code converter for VBA to VB.net.&lt;/P&gt;
&lt;P&gt;Check below&amp;nbsp; threads for some useful suggestions&amp;nbsp; for converting VBA to vb.net&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/previous-versions/office/developer/office-2003/aa192490(v=office.11)?redirectedfrom=MSDN" target="test_blank"&gt;https://learn.microsoft.com/en-us/previous-versions/office/developer/office-2003/aa192490(v=office.11)?redirectedfrom=MSDN&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://www.tooloscope.com/en/IT-tools/migrate-excel-vba-to-vb-net.php" target="test_blank"&gt;https://www.tooloscope.com/en/IT-tools/migrate-excel-vba-to-vb-net.php&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Feb 2024 00:01:59 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/using-vb-net-for-MS-Excel-in-blue-prism-code-stages/m-p/99030#M46658</guid>
      <dc:creator>harish.mogulluri</dc:creator>
      <dc:date>2024-02-02T00:01:59Z</dc:date>
    </item>
  </channel>
</rss>

