Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to switch the IE9 Browser mode to IE7 programmatically in VBA at runtime. I can engage the F12 develop tools and change it manually, but I want to automate this step in my code after I have opened my IE browser (defaulting to IE9).

share|improve this question
    
I don't know, but my guess is this is not allowed, because it would be a security risk. You might be able, however, to write a program that changes IE's settings to always use IE7 mode before starting IE. –  Mr Lister Jul 23 '12 at 6:15
    
are you creating the web pages, or simply connection to them? If you are generating them, then adding <meta http-equiv="X-UA-Compatible" content="IE=7" /> to the header will force IE7 mode in IE8&9 –  Sean Cheshire Jul 23 '12 at 16:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.