How to import code in VB.NET format, from an excel cell into the invoke code activity?

excel
invoke_code

#1

Hello,

I am trying to import some VB.NET code from an excel cell into an Invoke code activity.
I first use a read cell to get the code into a string format, the i tried to pass it in to the invoke code using arguments and variables.
It seems the invoke code just sees it as a string.
I also tried to use environment.NewLine to structure my code in the invoke code but it isn’t working neither.

Anyone has an idea ?

Thanks