The “invoke code” element seems to be an invisible “Private Sub …” Statement in which you can throw your code, is that right?
Is it possible to use and run more complex VB.net code in UIPath?
Private Iterator Function Tokens(ByVal phrase As String) As IEnumerable(Of String)
...
End Function
Private Function subCompile(ByVal te As IEnumerator(Of String), ByVal g As ParameterExpression) As Expression
Return ...
End Function
Public Function Compile(ByVal phrase As String) As Func(Of HashSet(Of String), Boolean)
Return ...
End Function
If you want you can create an excel file, create vba code there and then use the execute macro activity inside excel scope. Yes you can do it!
I use it to run Sap gui scripting, for example, works great
Hi William,
thank you for your answer. So far I do not want to create an Excel file. Also my Functions heavily use .net Framework functionalty. Lots of the stuff has no real corresponding in VBA.
Is there a possibility to define classes and functions in UIPath? The “invoke code” functionality seems not taking that kind of code-pattterns.