Excel Macro on Multiple Machines
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
30-03-20 04:38 PM
I would like to leverage an Excel macro in an advanced automation that will be accessed by multiple Blue Prism robots. Is there a method to
------------------------------
Jarrett Shull
------------------------------
share personal excel macro workbooks between users and machines via network drives in a blue prism context? Thank you in advance for any help!
------------------------------
Jarrett Shull
------------------------------
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
31-03-20 05:24 AM
You can keep the file on Network Drive and implement Environment lock in your code to access it so no two bots access it at same time.
But I would recommend you to keep the macro file in local folder like C:\Macro and reference it via Environment variable. You can also write logic at the beginning of process to copy file from network drive to local folder whenever the Macro is updated.
------------------------------
Gopal Bhaire
Analyst
Accenture
------------------------------
But I would recommend you to keep the macro file in local folder like C:\Macro and reference it via Environment variable. You can also write logic at the beginning of process to copy file from network drive to local folder whenever the Macro is updated.
------------------------------
Gopal Bhaire
Analyst
Accenture
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
31-03-20 09:14 PM
Hi Jarrett,
We have an extended version of the Excel VBO which allows you to run a macro from the runtime resource (robot). From there, you can either acquire an environment lock on the file to make sure only one robot accesses the file at the time if that is what you want or you can make copies of the file from a template file that contains your macro each time you need an instance to run.
I am attaching the VBO here. Hope that helps!
------------------------------
Jorge Barajas
Blue Prism
Senior Product Consultant
Austin, Texas
------------------------------
We have an extended version of the Excel VBO which allows you to run a macro from the runtime resource (robot). From there, you can either acquire an environment lock on the file to make sure only one robot accesses the file at the time if that is what you want or you can make copies of the file from a template file that contains your macro each time you need an instance to run.
I am attaching the VBO here. Hope that helps!
------------------------------
Jorge Barajas
Blue Prism
Senior Product Consultant
Austin, Texas
------------------------------
Jorge Barajas
Blue Prism
Senior Product Consultant
Austin, Texas
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
31-03-20 11:26 PM
Thank you both for the help!
------------------------------
Jarrett Shull
------------------------------
------------------------------
Jarrett Shull
------------------------------
