VBA IE 10 Automation - Automatically Save PDFs
VBA IE 10 Automation - Automatically Save PDFs I'm trying to automate the process of saving PDF invoices for bookkeeping purposes. The method suggested here does not work because a login is required to access the invoices. PDF I currently have a macro that navigates to the page, logs in and opens the links to each invoice. The URL scheme for these invoices is .../account/invoice/?invoice_number=XXXXXX . Navigating to each of these URL brings up the files in the URL .../account/invoice/?invoice_number=XXXXXX URL window. I would like the files to automatically save, but according to this page, the Always ask before opening this type of file option was depreciated from IE 10 and 11 due to security reasons. Always ask before opening this type of file I attempted to automatically click Save using this method, but the code here seems to be for a different version of IE. Save The line: hWnd = FindWindow("#32770", "File Download") was modified to: hwnd = FindWindow...