+ Reply to Thread
Results 1 to 2 of 2

Launch Chrome Browser and Return Focus to Excel

  1. #1
    Registered User
    Join Date
    12-30-2010
    Location
    Indiana, US
    MS-Off Ver
    2007
    Posts
    3

    Launch Chrome Browser and Return Focus to Excel

    Trying to open a chrome browser from excel and then return focus to Excel. I just can't get excel to top window after chrome gains focus.



    Private Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdSHow As Long) As Long
    Private Declare Function GetActiveWindow Lib "user32" () As Long

    Please Login or Register  to view this content.
    Thanks in advance for any help!
    Last edited by alansidman; 03-08-2014 at 11:37 PM. Reason: code tags added

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,884

    Re: Launch Chrome Browser and Return Focus to Excel

    Code Tags Added
    Your post does not comply with Rule 3 ** our Forum RULES. Use code tags around code.

    Posting code between
    Please Login or Register  to view this content.
    tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top ** your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need to do something tricky - Launch browser window appending Excel field to the URL
    By MikeSeattle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-25-2012, 10:59 AM
  2. Navigating a web browser (Firefox, IE or google chrome) through VBA
    By JimmySmith in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-08-2012, 05:35 AM
  3. Launch Chrome from within Excel on a MAC?
    By ChainsawDR in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-21-2012, 01:48 PM
  4. Launch new browser window from an excel web page
    By Hal Anderson in forum Excel General
    Replies: 2
    Last Post: 01-19-2006, 10:15 PM
  5. [SOLVED] Launch new browser window from hyperlink within Excel
    By Hal Anderson in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 12-01-2005, 07:20 PM

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