I' m not sure what he wants to do now TBH😔
It would be easier enough to show what the link contains and post that, rather than the link?
I' m not sure what he wants to do now TBH😔
It would be easier enough to show what the link contains and post that, rather than the link?
Hi Vlad, yes, this a slightly different project than welshgasmans version of saving attachments, the saving attachments that welshgasman displayed how to achieve was fantastic, thats working great but on another project, totally different events but with similarities to saving email items is we receive images where a client can upload to our web server, this comes up as a link called open file (if 6 files the it will say open file on each upload, so i was wondering if it's easy to follow that link called (Open File) via vba and save the images from the link to a temp folder and use follow hyperlink from vba to open all 6 images or 4 images or however many have been uploaded to that email
Hope this all makes sense, so welshgasman file attachment saving works great but this is a different project but again its about saving from mail item
thank you guys once again, just checking the links out you sent, im going play around with that and give it a go
Kindest
Yes, that is what I thought you meant. So my comments should provide you a place to start. You need to save the body of the email in a string variable, use Mid with InStr to isolate the part containing the links (Mid(strEmailBody,Instr("Photo Upload 1:")....use Split to get an array then loop and get the individual paths. Using one of the functions in the links I posted earlier would get your files downloaded; you cannot use FollowHyperlink as that would just open the files in whatever default application you have and automating third party apps is quite difficult as it will involve API calls and the like.
If you get stuck maybe you can post a sample email with the exact wording and links.
Cheers,