I want to loop through the mails inside outlook and need to update the subject line of each mail to the excel file and I tried with a custom script as well but no use. It will be helpful if you guys help me with this. Thanks in advance.
Are any conditions to loop through emails in Outlook? I suppose that you need to find specific emails.
Hi @Lera, Thanks for looking into this and there is no criteria to loop through emails, just need go through all the mails inside inbox and update the subject line of each email into excel file.
Sorry, didn’t understand your task. What will happen if there are thousands emails in Inbox? Do you need to read all their subjects and then paste them into Excel? It sounds very strange. And what custom script did you use?
Is this still actual? Do you need to loop through only unread emails?