Saving Outlook attachments and links to attachments with VBA

Status
Not open for further replies.

Chris Hewitt

New Member
Outlook version
Outlook 2013 32 bit
Email Account
Exchange Server
Hello to all, I am a captain of a fairly large and active volunteer Ambulance corps just outside of a major metropolitan area.

Every few days I receive intelligence documents (as do - or should - almost all fire chiefs and peer ambulance captains in the US).

Informational ones come as PDF attachments but the really important ones come as URLs to the PDF file that expire and disappear in a few days (and some in hours).

The problem is that my day job often is so time consuming that I miss the critical PDF documents pointed to by the links.

What I could use help with is a SUB where I can pass a sender email address, Windows folder for documents to be saved in (and maybe a folder (with an option to search subfolders) or just default to the current INBOX). Then the macro will look for every email sent by that email address and save all the PDF attachments and if there is a link to a PDF file save that as well - maybe only look at unread messages to improve efficiency and speed.

Anyone able to help me out here?

Thanks!

PS. have lots of technical experience - started with VisiCalc way back when ... and now the gun for hire on Excel macro issue at a global investment bank. BUT I have no Outlook VBA experience and need this solution ASAP as I am missing too many important documents.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
The macro here - Open All Hyperlinks in an Outlook Email Message - will open all links in a message. The run a script version works in a rule - put the sender address in it.

I have other macros that can save attachments off of email - you can put them together in to one.

That will open the link and as long as you don't need to do anything else, will download the file. If you are unable to set a default for downloads, you could use clickyes to respond to the dialog.
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
N Saving And Deleting Outlook Attachments with Unknown Error Message Outlook VBA and Custom Forms 1
T Saving Outlook 2010 email with attachments but read the email without Outlook Using Outlook 2
D Saving outlook emails in html and attachments Using Outlook 4
T Outlook 2007 alters date when saving attachments, windows 7. Using Outlook 5
R Does not prompt for saving or opening attachments when downloading attachment in Outlook 2007. Using Outlook 3
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
V Saving attachment from outlook in My Documents Outlook VBA and Custom Forms 14
R Outlook 2010 Modify Style "Do not check spelling or grammar" not saving Outlook VBA and Custom Forms 0
R Outlook Office 365 not saving addresses Using Outlook 0
e_a_g_l_e_p_i question about saving my .pst so I can import it to my Outlook after I build a new system Using Outlook 10
J Outlook 2013 crashes saving VBA & clicking tools | digital signature Outlook VBA and Custom Forms 1
L Outlook DST (Daylight Saving Time) problem Using Outlook 0
F Using Outlook 2007 as an IMAP Mail Station Without Saving Data Locally Using Outlook 2
D File Lock issue when saving message from Outlook to new folder Using Outlook 1
K Printing & Saving Outlook Contacts Using Outlook 3
S trouble with Outlook 2010 saving sent emails Using Outlook 2
R Outlook 2007 QAT buttons not saving Using Outlook 2
C Exchange 2003 - Outlook 2003 - Calendar entries saving over each other Using Outlook 2
J Saving Published Outlook Form as msg Using Outlook 1
J Saving Incoming & Outgoing Outlook 2010 Email Locally with IMAP Using Outlook 2
T Merging contacts from Live to Outlook 2003, and saving saved emails from live Using Outlook 4
O Outlook Today Customization not saving in Outlook 2010 32-bit Using Outlook 9
C Saving Entourage 2004 for Mac files to Outlook 2011 for Mac Using Outlook 1
J Outlook 2010 Saving Changes Issue Using Outlook 1
W I have outlook 2007, and it is not saving my contacts when I send an email, please help! Using Outlook 2
B outlook 2010 is not saving sent mail in sent items folder and sometimes after appearing in sent item Using Outlook 1
G Comcast Server is not saving my Mail due to Outlook Using Outlook 26
S Saving Outlook 2010 calendar as a web page... Using Outlook 1
T Saving Sent Messages in Outlook 2010 Using Outlook 1
A Outlook - saving sent messages Using Outlook 1
L Outlook 2010 not saving messages to sent items Using Outlook 2
J Saving emails from Outlook web access Using Outlook 5
J Saving emails via Outlook Web Access Using Outlook 1
I Saving and importing personal folders inside Outlook. Using Outlook 1
J Outlook Not Saving Passwords Using Outlook 2
D Opening & saving an Outlook 2010 Calendar attachment Using Outlook 4
B Error while creating/saving a new appointment in Outlook web access 2003 'You don't have permission to modify this item'. Using Outlook 1
T Problems saving appoinment on Outlook Using Outlook 1
C Outlook is automatically saving e-mail in folders on desktop. I dont want this. Using Outlook 0
A My Outlook stopped saving my sent emails to the Sent Items folder Using Outlook 3
F OUTLOOK 2010 SAVING SENT EMAILS ON EXCHANGE SERVER Using Outlook 2
R Saving Outlook Email As Text File Extract Outlook VBA and Custom Forms 2
D Outlook 2003 Saving into a textbox when form closes Outlook VBA and Custom Forms 3
T Saving Embedded Images in Outlook 2007 Outlook VBA and Custom Forms 3
D Outlook 2003 saving option button Outlook VBA and Custom Forms 1
B Outlook is not saving sent items Using Outlook 5
I Saving attachments from multiple emails and updating file name Outlook VBA and Custom Forms 0
M Adding Subject to this Link-Saving VBA Outlook VBA and Custom Forms 4
L Attachment saving and tracking - PLEASE help! Outlook VBA and Custom Forms 5
D Saving Selected Emails as PDF and saving Attachments Outlook VBA and Custom Forms 6
Similar threads


















































Top