+ Reply to Thread
Results 1 to 2 of 2

Userform - Click a button, open browser and go to URL from textbox

  1. #1
    Registered User
    Join Date
    01-13-2016
    Location
    UK
    MS-Off Ver
    2010
    Posts
    9

    Userform - Click a button, open browser and go to URL from textbox

    Hello,

    Wondering if anyone can help me? I have a UserForm that contains a number of text boxes. One of those text boxes contains a URL. I want to find a way I can either double click the text box, or click a command button, which will open Internet Explorer and navigate to the URL contained within the textbox.

    I have searched and found the below code which people say is working for them but is bugging for me at the .HyperlinkAddress = Me!txtURL line



    Please Login or Register  to view this content.

    Any help on this would be appreciated. Thanks

  2. #2
    Forum Contributor
    Join Date
    09-03-2015
    Location
    IE
    MS-Off Ver
    2003 - 2016
    Posts
    258

    Re: Userform - Click a button, open browser and go to URL from textbox

    Answered: http://www.ozgrid.com/forum/showthread.php?t=198723

    Is also on MrExcel.

+ 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. Button Click on Spreadsheet commanded by Button Click on Userform
    By Quilie19 in forum Excel Programming / VBA / Macros
    Replies: 33
    Last Post: 04-07-2015, 11:35 PM
  2. List hyperlinks on vba userform to open in Internet browser
    By Jakeyboy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-29-2015, 07:42 PM
  3. Stop exit event of textbox firing when click a command button to close a userform
    By chrisjames25 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-18-2013, 09:27 AM
  4. How I do disable and enable web browser control in access form on button click
    By krjoshi in forum Access Programming / VBA / Macros
    Replies: 0
    Last Post: 10-10-2013, 02:58 PM
  5. [SOLVED] Is it possible to have a command button click event autofill a textbox within a userform?
    By Orestees in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-16-2012, 02:14 PM
  6. Replies: 3
    Last Post: 05-07-2012, 09:46 PM
  7. Userform: Pass textbox values to another textbox on button press
    By adjustermn in forum Word Programming / VBA / Macros
    Replies: 3
    Last Post: 02-09-2010, 11:19 PM

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