Articles → AUTOMATION ANYWHERE → Pass parameters in VBA file using automation anywhere and return a value

Pass parameters in VBA file using automation

anywhere and return a value






VBA file










' Input parameters
MsgBox WScript.Arguments.Item(0)
MsgBox WScript.Arguments.Item(1)

' returning  value
WScript.StdOut.WriteLine WScript.Arguments.Item(0) & WScript.Arguments.Item(1)



Automation anywhere code







Click to Enlarge






Click to Enlarge


Output



Click to Enlarge


Click to Enlarge


Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Thursday, May 16, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250