I used the code here: IE11 Frame Notification Bar Save button
to get past the open/save/cancel dialogue box when downloading an excel file from IE11. I switched the code to say "open" rather than "save". But, the VBA doesn't open the file all the way, it appears like it's going to then doesn't. After the code finishes executing the dialogue box saying "the file format and extension … don't match". Then I click yes and the file opens.
How can I open the file using VBA code?