Excel Application Scope activity for path "Invoice" + RetrievedEmails.Attachments.First.Name I am getting the following error:
Argument ‘Workbook Path’: BC30456:‘Attachments’ is not a member of ‘String’.

Excel Application Scope activity for path "Invoice" + RetrievedEmails.Attachments.First.Name I am getting the following error:
Argument ‘Workbook Path’: BC30456:‘Attachments’ is not a member of ‘String’.

HI,
This error is caused by RetrieveEmails variable is String type.
Can you check type of RetrieveEmails? or Replace it with MailMessage type variable.
For example, it should be as the following.
Regards,
That worked, thank you!