Hello experts,

I have written the vba code which performs following tasks:
- saving attachments from each of selected emails from Outlook 2013.
-Rename the saved attachments with subject line of email.
-Make the RAR file using winrar command line run in shell.
 
      CreateObject("WScript.Shell").Run Chr(34) & commline & Chr(34) & " a -ibck -ep " & Chr(34) & path & Chr(34) & "A.rar " & emailpath & "*.*", 1, True
-enter the log of details like file name, subject line etc in excel file.
-These above steps are performed for each selected emails in outlook 2013.
-I get following error after 200+ emails are processed out of 600+ selected emails.
error.jpg

Further creation of RAR file stops and code crashes after the error.

Please help.
Thanks,
Jigar