cancel
Showing results for 
Search instead for 
Did you mean: 

MS VBO Action Run Marcro is not working.

YogeshSharma1
Level 3

Hi,

I have created a macro to send the email to employees on completion of their 5 year anniversary.

When i am manually running it, it is working. However, while using BP Run Macro option, it is giving me error as "Internal : Could not execute code stage because exception thrown by code stage: The given key was not present in the dictionary."

How to fix this? could you please assist.

26265.png

Regards,

Yogesh.



------------------------------
Yogesh Sharma
------------------------------
1 REPLY 1

Mukeshh_k
MVP

Hi @YogeshSharma1 - I have seen this error usually with the handle - are you trying to use two different Excel VBO Objects for different actions ? The Run Macro action used should be from the same Excel VBO that created the instance in first place.



------------------------------
Kindly up vote this as "Best Answer" if it adds value or resolves your query in anyway possible, happy to help.

Regards,

Mukesh Kumar - Senior Automation Developer

NHS, England, United Kingdom, GB
------------------------------
Regards,

Mukesh Kumar