title: VBA in excel IE runtime and windows security warning pop up
body: <p>need your help. I need to get all a tags from a company website. But whenever I use this VBA code <code>Set ie = New InternetExplorer</code>, i'll encounter this error below. (but no issues in connecting with google.com, facebook.com)</p>
  
  <p>"<em>Run-time error'-2147417848 (80010108)':
  Automation error
  The object invoked has disconnected from its client</em>"</p>
  
  <p><img src="https://i.stack.imgur.com/kKlYp.jpg" alt="1"></p>
  
  <p>And if i change my ie code to <code>Set ie = New InternetExplorerMedium</code>, i can proceed opening the site but warning pop up will show.</p>
  
  <p>This pop up is causing the vba to stop since user needs to click "yes or no"
  I've created a vbscript but it will stop the process if the pop up window is not the active window.</p>
  
  <p>"<em>To allow this website to provide information personalized for you, will you allow it to put a small file (called a cookie) on your computer?</em>"</p>
  
  <p><img src="https://i.stack.imgur.com/HWAHj.jpg" alt="2"></p>
  
  <p>Need your help here. Thanks a lot.</p>