Open Excel in a folder based on saved attachment



Hi everyone

Can anyone help me with the following problem: I saved an attachment (excel) from a mail in a folder. Now I want to open the file and read values from the Excel. This means that each time the name of the document can be different depening on the attachment saved so if I want to add the Excel application scope I can not add the name of the document?

Can anyone help me with this? THanks!


You just has to pass item from the foreach loop to the excel path.
Please refer the following.