Web Query

Jar2112

New Member
Joined
Dec 30, 2003
Messages
30
Hello,

-I am working with web queries and I would like to know if there is a way to input info in a cell to a website. For instance if I had a list of stock symbols and wanted a return data of the current price. Can I have excel go from cell A1 and take that info and input it in a blank in say Yahoo and retrieve the current price? I don’t want all the slop of the entire website.

-Any suggestions?

THANK YOU!!!
 

Some videos you may like

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,123
Hmm this isn't my expertise but depending on the website you're using you may find that the URL will contain an extension for each symbol - ie the normal page could say be

http://www.joebloggs.com/index.asp

then when you select a particular character to search (say $) you may find that when the website gets the data the URL will change - eg

http://www.joebloggs.com/getdata.asp?type=usd

where type is a variable the website uses to determine which data it's getting - so if your site works in this manner then you can just set your xl file to load specific addresses withouth having to enter the $ in to say the index page... so you just amend type= to match the criteria you want to get data for.

Does this make sense?
 

Watch MrExcel Video

Forum statistics

Threads
1,122,694
Messages
5,597,571
Members
414,156
Latest member
WDMix

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top