Open a url in New tab of IE using VB or Vb Script


  • Hi,


    I am new to this forum. I need to invoke IE browser from VB or Vbscript by passing a URL. for subsequent call i need to open a new tab of existing IE browser but for me a new instance of IE window gets opened. I even changed the settings in IE 7.0 but all in vain. Appreciate your help on this...


    In firefox i found that by using firefox.exe -new tab we are able to open a url in new tab of firefox browser. similarly is there any provision in IE?


    Thanks in advance

    Santhosh N.



    Wednesday, August 08, 2007 11:47 AM

All replies

  • Microsoft has not yet exposed an API level way to create/manage/manipulate tabs. sorry.
    Wednesday, August 08, 2007 12:12 PM
  • Hi Santhosh,


    There is no difference in opening a new tab or a new window. A new tab is just a new window that is hosted by the same iexplore.exe instance.


    You may like to have a look at the external.navigateAndFind method and

    Browser Navigation constants.




    Thursday, August 09, 2007 1:24 AM
  • There is _self, _parent, _top, etc for the target attribute.  Can we have something like _tab please for the situation where the user has selected "Let Internet Explorer decide how pop-ups should open"?

    Thursday, October 01, 2009 2:09 AM
  • Hi,

    Though I am not a technical person, I happened to see your post and wanted to share a link where a software engineer of my company has shared a Tip on "Programmatically open new tabs in IE 7 using VB". 

    Hope you find it useful and of assistance.

    Thank you
    Proud to be a part of Team Mindfire!
    Mindfire: India's Only Company to be both Apple Premier & Microsoft Gold certified. 
    Tuesday, January 19, 2010 8:09 AM
  • I successfully use the following code to open multiple web sites in mulitple tabs:

    Set objShell = CreateObject("WScript.Shell")

    MyScriptArray = Array("","","")

    For I = 0 to 2 

       Set objIE = Wscript.CreateObject("InternetExplorer.Application","objIE_")

       objIE.Visible = True



    Set objShell = Nothing

    Set objIE = Nothing

    Tuesday, March 06, 2012 8:01 PM