Excel interaction

I have a function to Read Excel like that


How can I get the name of this excel file ?

Thanks

ReadExcel only works if you give it the full path to a file that exists. I cannot see if you gave it a filename?
So, if we assume you have given a full path to a file that exists, and you need to find the filename only, you can use System.IO.Path.GetFileName.

You can call that as an expression in any input field or call it from the Invoke code activity.

“%USERPROFILE%\Downloads\Temp_DauVao_FW_1.xlsx”
this is the link I put into ReadExcel. How can I get this path “Temp_DauVao_FW_1.xlsx” . If I use invoke code, can you help me with this . Thank

you can use System.IO.Path.GetFileName.

how can I integrate this into openRPA app ?


fileName = System.IO.Path.GetFileName(fullPath) #code in invoke code
with this code, what is agrument I have to input in here

Setup RPA error - OpenRPA - OpenIAP

I already fixed this problem. But I still have this. Can you help me