+ Reply to Thread
Results 1 to 2 of 2

Creating custom hyperlinks based on input text?

  1. #1
    Registered User
    Join Date
    02-07-2014
    Location
    Home
    MS-Off Ver
    Excel 2010
    Posts
    6

    Creating custom hyperlinks based on input text?

    basically i am not sure if this would be the best way to do this hence why i thought i would ask you for any advice.

    I want to create something which will search a number of custom websites for the "keyword" that i input.

    So lets say that i have these websites, google, yahoo, amazon. and their search entry is www.google.com/search="keyword", so if i wanted to search for a lawnmower all i would need to do is to type in "john doe" into A1 and then it would produce the www.google.com/search=john doe, www.yahoo.com/search=john+doe, www.amazon.com/search=john&doe links and then i could click on maybe a button or macro which would open up all 3 sites into one window for me.

    Obviously the search string for google isn't as simple as "/search=keyword" and the "keyword" isnt always at the end of the website address, sometimes it is in the middle, so i guess it might look something like this?
    1st part of search text 1st keyword website specific 2nd keyword combined text/hyperlink
    john doe
    www.yahoo.com/search= www.yahoo.com/search= john doe
    www.google.com/search= + www.google.com/search=john+doe
    www.amazon.com/search= & www.amazon.com/search=john&doe
    macro or button to open all links

    thats the simplest way i could think of how to do this, although i think there are obviously more easier or user-friendly ways of doing this. Hence why i am asking you guys for advice. Thanks!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Creating custom hyperlinks based on input text?

    You can use the HYPERLINK() formula to construct a clickable hyperlink from pieces of text.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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. Replies: 1
    Last Post: 08-27-2012, 04:14 AM
  2. [SOLVED] Auto-creating hyperlinks based on different filenames
    By VBA FTW in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-16-2012, 04:41 PM
  3. [SOLVED] Creating Dynamic Hyperlinks based on known cell value
    By scaffdog845 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-13-2012, 01:37 PM
  4. Replies: 3
    Last Post: 10-10-2011, 02:52 PM
  5. [SOLVED] Creating an custom input box
    By [email protected] in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-17-2005, 12:06 AM

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