Extract invoice pdf data into Excel

I am extracting data from Invoice pdf to excel. It was reading the data in pdf but not able to write text in the excel sheet.I am attaching my code along with this . Can anyone suggest me a solution
Invoice

Actually that pdf to excel activity itself will write to a excel right…
Kindly check once in your project folder whether there is any excel file written
Cheers @gokul_t

In my messagebox its printing the converted values but not printing in Excel May I know the reason

I am trying to use try catch it was not working because of uipath updated