Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Use InPut in Hyperlink

Trying to put InPut answer into hyperlink

Dim MyInput
MyInput=InputBox("Enter Stock Symbol")
ActiveWorkbook.FollowHyperlink _
Address:="http://finance.yahoo.com/q?s=MyInput

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Use InPut in Hyperlink

If it should look like http://finance.yahoo.com/q?s=abc

and MyInput contains abc then

Dim MyInput
MyInput=InputBox("Enter Stock Symbol")
ActiveWorkbook.FollowHyperlink _
Address:="http://finance.yahoo.com/q?s=" & MyInput



--
Regards,
Tom Ogilvy


"gj" wrote in message
oups.com...
Trying to put InPut answer into hyperlink

Dim MyInput
MyInput=InputBox("Enter Stock Symbol")
ActiveWorkbook.FollowHyperlink _
Address:="http://finance.yahoo.com/q?s=MyInput



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Use InPut in Hyperlink


gj wrote:
Trying to put InPut answer into hyperlink

Dim MyInput
MyInput=InputBox("Enter Stock Symbol")
ActiveWorkbook.FollowHyperlink _
Address:="http://finance.yahoo.com/q?s=MyInput


don't work Tom
gj

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Use InPut in Hyperlink

ISub AAA()
Dim MyInput
MyInput = InputBox("Enter Stock Symbol")
ActiveWorkbook.FollowHyperlink _
Address:="http://finance.yahoo.com/q?s=" & MyInput

End Sub

Worked fine for me. When I entered a valid symbol, it opened that as a web
page.

--
Regards,
Tom Ogilvy






"gj" wrote in message
oups.com...

gj wrote:
Trying to put InPut answer into hyperlink

Dim MyInput
MyInput=InputBox("Enter Stock Symbol")
ActiveWorkbook.FollowHyperlink _
Address:="http://finance.yahoo.com/q?s=MyInput


don't work Tom
gj



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Use InPut in Hyperlink

Try:
MyInput = "http://finance.yahoo.com/q?s=" & InputBox("Enter Stock Symbol")
ActiveWorkbook.FollowHyperlink Address:=MyInput
--
Steve Franks


"Tom Ogilvy" wrote:

ISub AAA()
Dim MyInput
MyInput = InputBox("Enter Stock Symbol")
ActiveWorkbook.FollowHyperlink _
Address:="http://finance.yahoo.com/q?s=" & MyInput

End Sub

Worked fine for me. When I entered a valid symbol, it opened that as a web
page.

--
Regards,
Tom Ogilvy






"gj" wrote in message
oups.com...

gj wrote:
Trying to put InPut answer into hyperlink

Dim MyInput
MyInput=InputBox("Enter Stock Symbol")
ActiveWorkbook.FollowHyperlink _
Address:="http://finance.yahoo.com/q?s=MyInput


don't work Tom
gj






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Use InPut in Hyperlink

I think I'd try it once more.

If it doesn't work, post your code and what you typed into the inputbox.

gj wrote:

gj wrote:
Trying to put InPut answer into hyperlink

Dim MyInput
MyInput=InputBox("Enter Stock Symbol")
ActiveWorkbook.FollowHyperlink _
Address:="http://finance.yahoo.com/q?s=MyInput


don't work Tom
gj


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to input pictures automatically based on cell input? bsharp Excel Worksheet Functions 9 May 30th 09 07:16 AM
How do I input email addresses in Excel without the hyperlink, vms Excel Discussion (Misc queries) 3 February 21st 05 09:08 PM
hyperlink based on user's input izbryte Excel Programming 2 November 24th 04 03:37 PM
hyperlink based on user's input izbryte Excel Worksheet Functions 1 November 24th 04 02:51 PM
CODE to select range based on User Input or Value of Input Field Sandi Gauthier Excel Programming 4 December 8th 03 03:22 PM


All times are GMT +1. The time now is 06:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"