ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   pass an excel cell value to a web query (https://www.excelbanter.com/excel-programming/346831-pass-excel-cell-value-web-query.html)

ed

pass an excel cell value to a web query
 
I want to pass a value in a cell to a web query via a hyperlink.

specifically in the query..

http://www.switchboard.com/bin/cgiqa...=37&image1.y=8

the value after &T= which is now BOSTON in the example, I want to pass
the value in cell C3
in my excel datesheet.

I need to know how to format C3 so that is passes as whatever value is
there. I know there is some character or characters to use to format
C3 so that it's value passes but I can't remember how to do it.


Tom Ogilvy

pass an excel cell value to a web query
 
=Hyperlink("http://www.switchboard.com/bin/cgiqa.dll?SR=&MEM=14&QV=4A0A5AE1D
2234A92804BF4F13DCAE550l0239D50E51E81943E6303203O0 183DD56AF768443EC303203O03
832F3DAF7684434F303203&LNK=14%3A21&F=&L=smait&T="& C3&"&S=ma&Z=&image1.x=37&i
mage1.y=8",C3)

--
Regards,
Tom Ogilvy

"ed" wrote in message
ups.com...
I want to pass a value in a cell to a web query via a hyperlink.

specifically in the query..


http://www.switchboard.com/bin/cgiqa...=37&image1.y=8

the value after &T= which is now BOSTON in the example, I want to pass
the value in cell C3
in my excel datesheet.

I need to know how to format C3 so that is passes as whatever value is
there. I know there is some character or characters to use to format
C3 so that it's value passes but I can't remember how to do it.




ed

pass an excel cell value to a web query
 
Thanks, Tom. Just what I needed.



All times are GMT +1. The time now is 10:21 AM.

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