+ Reply to Thread
Results 1 to 4 of 4

Excel 2010 VBA Open Intenet Explorer IN Nes Tab, Not New Page

  1. #1
    Registered User
    Join Date
    09-07-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    2

    Excel 2010 VBA Open Intenet Explorer IN Nes Tab, Not New Page

    I have been trying to solve this problem now for about 2 weeks. I have Googled, searched various forums, searched msdn.microsoft.com, posted several places. I am about to conclude there isn't an answer. Even if that be the case, if someone could tell me it can't be done, even then, that would be a help

    I have a spreadsheet that has various company names and financial data on these companies, stock price, P/E, Market Cap, etc. There is a macro in the spreadsheet that when I click on the company name, the macro opens the financial page for that company on Google finance or Yahoo finance. What I'm trying to change is that these webpages all open in a new window. I would like to change that so that they open in new tabs, all on one webpage.

    Herre is the code:

    HTML Code: 
    As you can see some of the code is now comments, which are previous attempt that failed

    Any help, any comments, anything at all, would be a big help and greatly appreciated.

    Thanks

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Excel 2010 VBA Open Intenet Explorer IN Nes Tab, Not New Page

    I think you might be overthinking this one. On my computer, using ThisWorkbook.FollowHyperLink does what you describe, is only one line and is certainly more simple

  3. #3
    Registered User
    Join Date
    09-07-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Excel 2010 VBA Open Intenet Explorer IN Nes Tab, Not New Page

    I am shaking my head. Sometimes you guys take something that has bothered me for days, weeks, and boil it down to something so simple. Overthinking is an understatement. I'm still kinda LOL

    Your suggestion works perfectly! Many thanks

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Excel 2010 VBA Open Intenet Explorer IN Nes Tab, Not New Page

    We've all been there, Glad you got it sorted

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1