title: Outlook Download Files from Hyperlink
body: <p>I'm looking for some assistance with automating a task I do several times per day.</p>
  
  <p>I receive emails from a certain address which I automatically sort (using Rules) into a dedicated folder. </p>
  
  <p>These emails contain hyperlinks to documents to download from the web; however the links are not written as a URL, rather there is a link saying "Download all Documents". </p>
  
  <p>I click on this link, it opens the URL which is a zip file of all the documents. I then save this zip file in a certain naming format into a certain folder.</p>
  
  <p>I'm looking to automate this process. It's a fiddly task doing it manually because I receive many such emails, and renaming them takes time because the default name contains illegal characters.</p>
  
  <p>I've done some programming before, but only a little bit in VBA (Excel) and never for Outlook. </p>
  
  <p>I've searched through the forums for similar questions, and it appears I can use the URLDownloadToFile function (e.g. <a href="https://stackoverflow.com/questions/26186279/urldownloadtofile-in-access-2010-sub-or-function-not-defined">UrlDownloadToFile in Access 2010 - Sub or Function not Defined</a>); however I need to pass a URL to that function, and I don't know how to get that out of the email since it's not contained within the body of the email.</p>
  
  <p>Can anyone help me here?</p>