Getting type mismatch while running Modern experience invoke vba activity

Hi ,
I have a scenario where I need to pass 3arguments to the vba code and invoke using vba code activity .
But if I run the code using classic experience it is working fine.
But if I run using modern design experience I am giving type miss match error.
Can anyone suggets me how to tackle this.

Hi @Gayathri_Mk - It looks like you’re debugging the file. Are you getting the same issue if you just run the file using Run File Option. Also, make sure the variables that you are assigned to the activity is of the same data type

@Gayathri_Mk

I think you are passing everything as an array each item…please remove the flower brackets({}) …

cheers