gagangoomer Posted September 13, 2013 Report Share Posted September 13, 2013 Hi, I'm trying to connect MEP to IE through External Script option. Below is the code to activate IE window. I've run this code in VBA and is working fine but the same code when i put under MEP under External Script option it doesn't works. Dim btnSelectList As MSHTML.HTMLSelectElement Dim btnOptionList As MSHTML.HTMLOptionElement, ElementColList As MSHTML.IHTMLElementCollection Dim ElementCol1List As MSHTML.IHTMLElementCollection, i As Long, j As Long, URL As String Dim ie As InternetExplorer Set ie = New InternetExplorer Set ie = CreateObject("internetexplorer.application") ' Create IE object ie.Visible = True ie.navigate http://google.com 'Open URL Do Until ie.readyState = READYSTATE_COMPLETE 'Wait till the page gets loaded in the browser Loop Can anyone help on this ? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.