title: Automate Save As File with IUIAutomation in Internet Explorer 9+
body: <p>There are 63 entries on Stack Overflow related to "IE VBA Save-as" topic.<br>
  That is to automate the Download Notification Bar of IE 9+.</p>
  
  <p>Several methods are recommended to automate this process.<br>
  Method 1. using XMLHttp   (<a href="https://stackoverflow.com/questions/27110949/vba-in-excel-internet-explorer-download-xml-save-as-dialogue">example link</a>, applied to sites that show the direct url of to-be-downloaded file)<br>
  Method 2. using autoitx.dll to send hotkeys (example link, not so stable based on my experience)<br>
  Method 3. using IUIAutomation (<a href="http://faidootdoot.blogspot.jp/2015/04/excel-vba-automate-save-as-file-using.html" rel="nofollow noreferrer">blogspot link</a> )  </p>
  
  <p>I think Method 3 is suitable for most of these situations. 
  However, I have NOT successfully tried this method, because
  1) I can't add reference to  UIAutomationCore.dll 
     I get this dll under C:\Windows\SysWOW64 and the project(*.xlsm) folder<br>
     <strong>Question1</strong>:Please tell me how to add reference to  UIAutomationCore.dll.  </p>
  
  <p>2) Subroutine Download_Save_As in the page (<a href="http://faidootdoot.blogspot.jp/2015/04/excel-vba-automate-save-as-file-using.html" rel="nofollow noreferrer">blogspot link</a> ) uses sending shortkeys to navigate to the save-as window.<br>
      I don't thinks this is stable enough as I tried the AutoitX way.<br>
      <strong>Question2</strong>:Is it possible to click the save-as option by using purely IUIAutomation way? and how to?  </p>