+ Reply to Thread
Results 1 to 8 of 8

Help with web Browser on Userform

  1. #1
    Registered User
    Join Date
    06-03-2011
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    46

    Help with web Browser on Userform

    Hello I find one example web example here in forum. But I need to edit it and to adapt to my needs.

    So What I want to do is when I Press "Button (Hotmail in Userfom)" to fill data inside this windows(on web browser inside the Userform) not to PopUp new IE Windows.

    For more detail please see Example in Attach, opeen userForm1 And see all code and see what i want.

    Thank You.
    Attached Files Attached Files
    Last edited by johan12; 04-07-2013 at 01:32 PM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645

    Re: Help with web Browser on Userform

    Why aren't you using the webbrowser on the userform?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    06-03-2011
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Help with web Browser on Userform

    Bicause I need to Opeen two or more browser at the same time, and In userform I can Do it, In Internet IE I can not to open two email at some times, in WebBrowesr I can do it.

    Thanks I wait for Help.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645

    Re: Help with web Browser on Userform

    Sorry, you've lost me.

    You have a webbrowser control, WB, on the userform but the code for the Hotmail button is creating a new instance of IE.

    If you do want to use the webbrowser try using this in the sub CommandButton5_Click.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    06-03-2011
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Help with web Browser on Userform

    Thank You Norie , It is Work Prefect. Thanks Again.

  6. #6
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Help with web Browser on Userform

    Hi @johan12,

    Are you trying to pass the username and password to a webbrowser embedded inside the userform? If so, could you please upload the final version of the workbook as I have never seen this working before and have been told that it wasn't possible.

    Thanks.

    abousetta
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  7. #7
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Help with web Browser on Userform

    OK, got it to work with a few tweaks:

    Replaced the old code in Private Sub CommanButton5_Click to this:

    Please Login or Register  to view this content.
    Never knew this was possible so glad I saw this thread. Thanks to Norie for finding the solution.

    abousetta

  8. #8
    Registered User
    Join Date
    06-03-2011
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    46

    Re: Help with web Browser on Userform

    Thanks abousetta

    Your code is Prefect. now I use your code.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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