<?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: Excel VBO - RunMacroFromTextfile in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123628#M54069</link>
    <description>&lt;P&gt;Another way could be to store the macro in a new plain excel file instead of text file.&lt;/P&gt;&lt;P&gt;Then in BP open both files in a single handle or have a logic in macro to open the actual file and it will work that way too.&lt;/P&gt;&lt;P&gt;I understand the macro would not be present in the input file so having a macro template would be the right way to automate it.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Nov 2025 14:22:12 GMT</pubDate>
    <dc:creator>Tejaskumar_Darji</dc:creator>
    <dc:date>2025-11-25T14:22:12Z</dc:date>
    <item>
      <title>Excel VBO - RunMacroFromTextfile</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123600#M54056</link>
      <description>&lt;P&gt;So I am relatively new to Blueprism and I am currently developing a process whereby I am calling the Excel VBO -&amp;nbsp;runmacrofromtextfile and no matter what I do to the inputs I cannot get it to work as I think I have done something wrong with the text file that contains the macro to run, and there being no examples of just HOW this should be structured, I can't get any further&lt;/P&gt;&lt;P&gt;I just literally dumped the Macro from within excel VBA into a straight textfile, but I am suspecting that it should be NAMED in a specific manner as the error I get is :-&lt;BR /&gt;&lt;BR /&gt;Cannot run the macro '&lt;EM&gt;&lt;STRONG&gt;wxyz&lt;/STRONG&gt;&lt;/EM&gt;'. The macro may not be available in this workbook&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 13:26:34 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123600#M54056</guid>
      <dc:creator>paul.wright</dc:creator>
      <dc:date>2025-11-20T13:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Excel VBO - RunMacroFromTextfile</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123621#M54064</link>
      <description>&lt;P&gt;You need to have the macro inside the same workbook. Try to add the macro code in the same file and run.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 09:04:02 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123621#M54064</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2025-11-25T09:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Excel VBO - RunMacroFromTextfile</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123622#M54065</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/60614"&gt;@paul.wright&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As Tejas mentioned you need to have VBA code in the same workbook,&lt;BR /&gt;&lt;BR /&gt;There are few more things to consider as below&lt;/P&gt;&lt;P&gt;1. All the setting related to &lt;STRONG&gt;Macros&amp;nbsp;&lt;/STRONG&gt;should be enabled in your excel application.&lt;/P&gt;&lt;P&gt;2. Excel file should be in &lt;STRONG&gt;.xlsm&lt;/STRONG&gt; or &lt;STRONG&gt;.xltm&amp;nbsp;&lt;/STRONG&gt;format, only then you will be able to save VBA code in it (You can access the VBA project section by pressing &lt;STRONG&gt;Alt+F11&amp;nbsp;&lt;/STRONG&gt;in you excel application-&amp;gt; And then write VBA code by inserting a&amp;nbsp;&lt;STRONG&gt;Module&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Sayeed Bin Abdullah&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 09:14:42 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123622#M54065</guid>
      <dc:creator>SayeedBinAbdullah</dc:creator>
      <dc:date>2025-11-25T09:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Excel VBO - RunMacroFromTextfile</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123624#M54066</link>
      <description>&lt;P&gt;Hi Tej&lt;/P&gt;&lt;P&gt;So that negates the question I asked and I would just use RunMacro, as I am wanting to run a macro from a text file and not a file that contains the macro as the scenario in question is that the data file changes daily BUT needs the macro to perform some additional formatting before it is then worked&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 13:44:21 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123624#M54066</guid>
      <dc:creator>paul.wright</dc:creator>
      <dc:date>2025-11-25T13:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Excel VBO - RunMacroFromTextfile</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123625#M54067</link>
      <description>&lt;P&gt;Hi Sayeed&lt;/P&gt;&lt;P&gt;See my reply to Tej above as I would have just used RunMacro if that is what I was trying to achieve but as explained, the source data file changes daily hence the use of an external text file to store the macro&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 13:45:42 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123625#M54067</guid>
      <dc:creator>paul.wright</dc:creator>
      <dc:date>2025-11-25T13:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Excel VBO - RunMacroFromTextfile</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123626#M54068</link>
      <description>&lt;P&gt;Hey Paul,&lt;/P&gt;&lt;P&gt;Will the columns in the base excel be constant for every run?&lt;/P&gt;&lt;P&gt;If yes then you can create a template file in &lt;STRONG&gt;.xltm&lt;/STRONG&gt; format and add macros in it,&lt;/P&gt;&lt;P&gt;Before using the &lt;STRONG&gt;RunMacro&lt;/STRONG&gt; action you can copy the data into template file from the base file and then run the macro, then do &lt;STRONG&gt;Saveas&lt;/STRONG&gt; to the template file and save it into source format (&lt;STRONG&gt;.xls&lt;/STRONG&gt; or &lt;STRONG&gt;.xlsx&lt;/STRONG&gt;).&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 14:18:46 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123626#M54068</guid>
      <dc:creator>SayeedBinAbdullah</dc:creator>
      <dc:date>2025-11-25T14:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Excel VBO - RunMacroFromTextfile</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123628#M54069</link>
      <description>&lt;P&gt;Another way could be to store the macro in a new plain excel file instead of text file.&lt;/P&gt;&lt;P&gt;Then in BP open both files in a single handle or have a logic in macro to open the actual file and it will work that way too.&lt;/P&gt;&lt;P&gt;I understand the macro would not be present in the input file so having a macro template would be the right way to automate it.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 14:22:12 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123628#M54069</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2025-11-25T14:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Excel VBO - RunMacroFromTextfile</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123650#M54078</link>
      <description>&lt;P&gt;Maintain separate excel file and named it as your project name and save that excel file with &lt;STRONG&gt;.xlsm&lt;/STRONG&gt; extension and store some where , where bots can access it and create 2 environment variable to store macro file path and macro name and utilize in your process.&lt;/P&gt;&lt;P&gt;You have to design your VBA code with proper error handling so that once macro is finished you can read the status of your macro easily.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 10:46:15 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Excel-VBO-RunMacroFromTextfile/m-p/123650#M54078</guid>
      <dc:creator>naveed_raza</dc:creator>
      <dc:date>2025-11-28T10:46:15Z</dc:date>
    </item>
  </channel>
</rss>

