IE11 Frame Notification Bar Save button

后端 未结 2 951
花落未央
花落未央 2020-12-02 01:17

On a 64-bit system with MS Excel 2010 and IE11 I\'m using this code to automate download process from a website:

hWnd = FindWindowEx(IE.hWnd, 0, \"Frame No         


        
2条回答
  •  天命终不由人
    2020-12-02 01:40

    I'm assuming you're talking about that little frame that pops up at the bottom of IE giving you options to Open, Save or Cancel. If so, you might wanna check out another answer to a similar question asked here.

    A secondary solution would be a more complicated one (here), but works nonetheless. You'll have to import the modules from the workbook provided in this forum (you'll need to signup for membership though, but its free so just do it.) and that'll do basically what you need, albeit in a way that allows you more flexibility (choose filepath, filename, etc) and also a little more convoluted.

    Either way, hope I helped.

提交回复
热议问题