title: Opening an Excel file attachment located in a Lotus Notes Database through VBA
body: <p>I am trying to automate the opening of an excel file located in a jobs database within lotus notes. I have been able to open up a window in lotus notes using the url, but I can't open the file located there automatically as it is an attachment. </p>
  
  <p>This is the vba code I am using to open the link:</p>
  
  <pre><code>Application.ActiveWorkbook.FollowHyperlink Address:="Notes://URL", NewWindow:=True
  </code></pre>
  
  <p>What is the proper way to do it?</p>