How to transform vba's workbook to uipath excel's workbookapplication

in vba , i want to try two xlsx files, but these file already open in uipath’s Excel Application Scope. so get error. therefore i try to give vba argument which is uipath excel 's workbook argument. but vab’s workbook type is different in uipath excel workbook type. so i want to transform two workbook same. is there have function to do this? Or do you have others method to solve my question ? Thanks a lot.

Hi , you can use invoke code activity
And give excel file paths as input arguments to the activity

@vinay_reddy thanks for your advice , but it make it more complex

Can you give me an example of code ?