<?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 Detecting whether an Excel Macro has completed in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Detecting-whether-an-Excel-Macro-has-completed/m-p/54124#M8702</link>
    <description>Good Afternoon,

As part of a development request I am working on, I am designing a process that will run any Macro within any Excel Spreadsheet, based on input parameters.

The trouble I am having is determining whether or not the Macro has completed. As the process is generic, each Macro will be doing something different.

I have looked at the option of having each Macro used amended to produce a new file, then determining if this file exists; result: Macro has run however, I feel this isn't the most ideal way of doing things.

Does anyone know of a technical way to determine whether a Macro has:

A) Started
B) Completed
C) Terminated

Our VM's are running the following software:
-Windows 7
-Excel 2010.
-Blue Prism 4.2

Any help would be appreciated.

Many Thanks,

James</description>
    <pubDate>Thu, 28 Apr 2016 20:14:00 GMT</pubDate>
    <dc:creator>jgreaves2</dc:creator>
    <dc:date>2016-04-28T20:14:00Z</dc:date>
    <item>
      <title>Detecting whether an Excel Macro has completed</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Detecting-whether-an-Excel-Macro-has-completed/m-p/54124#M8702</link>
      <description>Good Afternoon,

As part of a development request I am working on, I am designing a process that will run any Macro within any Excel Spreadsheet, based on input parameters.

The trouble I am having is determining whether or not the Macro has completed. As the process is generic, each Macro will be doing something different.

I have looked at the option of having each Macro used amended to produce a new file, then determining if this file exists; result: Macro has run however, I feel this isn't the most ideal way of doing things.

Does anyone know of a technical way to determine whether a Macro has:

A) Started
B) Completed
C) Terminated

Our VM's are running the following software:
-Windows 7
-Excel 2010.
-Blue Prism 4.2

Any help would be appreciated.

Many Thanks,

James</description>
      <pubDate>Thu, 28 Apr 2016 20:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Detecting-whether-an-Excel-Macro-has-completed/m-p/54124#M8702</guid>
      <dc:creator>jgreaves2</dc:creator>
      <dc:date>2016-04-28T20:14:00Z</dc:date>
    </item>
    <item>
      <title>James,</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Detecting-whether-an-Excel-Macro-has-completed/m-p/54125#M8703</link>
      <description>James,
I think the easiest solution (for yourself at least) could be to have each macro throw an alert message box after it has finished. Blue Prism could then recognize this, click the OK command button on the message box and continue processing.
This should be easy and quick to implement into each macro. Going forward, this could be made part of standard practice going forward when creating macros.
- Tom</description>
      <pubDate>Fri, 29 Apr 2016 17:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Detecting-whether-an-Excel-Macro-has-completed/m-p/54125#M8703</guid>
      <dc:creator>TomBlackburn1</dc:creator>
      <dc:date>2016-04-29T17:05:00Z</dc:date>
    </item>
  </channel>
</rss>

