I have the task of downloading the attachments from outlook. The downloaded file should only be a doc, Docx and pdf file other files should not be downloaded. I have got the extension of the received attachment using the syntax FileNameFromPath(0).Split(CChar(“.”))(1)
Now I don’t know how to compare this extensionnn with my criteria and save I can’t use any condition statement because it asks for a boolean type condition which I cant give.
Can anyone help meee…