Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Web Query address parameter

I've created a Web Query that retrieves information about a certain stock.
Instead of modifying a parameter in the web query address when I want to
select a different stock, is there a way to insert the text from a cell on
the spreadsheet?

example: http://finance.yahoo.com/q?s=ibm gets me IBM. Can the parameter
"IBM" get input by the user or selected from a cell (say +a10)?

Thanks



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Web Query address parameter

try
s=&[a10]
or
s="&[a10]

If you are doing this by code, pls post your code here (Do NOT attach
workbook)

"buckle" wrote in message
...
I've created a Web Query that retrieves information about a certain stock.
Instead of modifying a parameter in the web query address when I want to
select a different stock, is there a way to insert the text from a cell on
the spreadsheet?

example: http://finance.yahoo.com/q?s=ibm gets me IBM. Can the parameter
"IBM" get input by the user or selected from a cell (say +a10)?

Thanks





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Web Query address parameter

Many thanks to Don and Haldun. I'll give your suggestions a try.


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
Parameter query in MS Query from Excel Jimbo Excel Discussion (Misc queries) 1 September 9th 09 04:27 PM
Convert hard coded query criteria to Parameter Query Melanie[_2_] Excel Discussion (Misc queries) 0 July 15th 08 09:59 PM
How to choose if I use a parameter or not in a parameter query Arnaud Excel Discussion (Misc queries) 0 March 8th 07 01:19 PM
How to use a Access Query that as a parameter into Excel database query Karen Middleton Excel Discussion (Misc queries) 1 December 13th 04 07:54 PM
Web Query address parameter buckle Excel Programming 2 October 22nd 03 11:02 PM


All times are GMT +1. The time now is 05:51 PM.

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"