ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Web Query address parameter (https://www.excelbanter.com/excel-programming/280227-web-query-address-parameter.html)

buckle

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




Don Guillett[_4_]

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






buckle

Web Query address parameter
 
Many thanks to Don and Haldun. I'll give your suggestions a try.




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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com