Invoke code activity VB.Net example

Hi there,

I am studying the invoke code activity in the new version of UiPath(V2017.1.6435). But I found that there is only a small resource about this new activity both inside the Forum and Google search. Does anybody have done a research about this new activity? I have some questions about it:

  1. Can we write VB.Net class/module inside this activity?
  2. How to connect Excel with VB.Net code directly?

Could anyone provide some training materials or some example codes? Appreciate it in advance.

I am learning an online tutorial( about VB.Net, but I found difficulty to connect it to this Invoke code activity.

Best regards



You can reffer to methods available in the .NET library, the imports are done using UiPath.


I am quoting @andrzej.kniola here "Personally I just use it solely for void methods and from useability perspective " even this is related to invoke methods I think you don’t need to reinvent the wheel here.


Hi ,
Pls follow video on invoke code activity

1 Like


Here is a detailed article on that :slight_smile: