Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Get Stock Quotes Via Cell Look Up

1) Is there any way I can use the data from a cell - say B2, which contains a
stock symbol - to look up the current price for that stock symbol and insert
only the price in cell J2?

2) If 1 is possible, can I refine it such that it will only perform the look
up if cell G2='Y'?

3) Can this then be applied to every row of the worksheet?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Get Stock Quotes Via Cell Look Up

Lookup where?

--
Regards,
Tom Ogilvy

"penguin13" wrote in message
...
1) Is there any way I can use the data from a cell - say B2, which

contains a
stock symbol - to look up the current price for that stock symbol and

insert
only the price in cell J2?

2) If 1 is possible, can I refine it such that it will only perform the

look
up if cell G2='Y'?

3) Can this then be applied to every row of the worksheet?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 279
Default Get Stock Quotes Via Cell Look Up

microsoft web site
search "excel stock query"
Learn the basics of Web queries
A great way to learn the basics of Web queries is to look at one of the
sample queries included with Excel.

Using a sample Web query
The MSN® Money Central„˘ Investor Stock Quotes Web query included with Excel
lets you insert the latest stock quotes into your spreadsheets. Just use the
Import Data command (Data menu, Import External Data) and select MSN
MoneyCentral Stock Quotes as your data source. For the parameter value, use
the symbol of any stock you're interested in. (For example, to get Microsoft
stock quotes, you would type MSFT.) After you create the query, you can
refresh its value at any time to get a new quote.

Do you want the rest in formula or vba code?

"penguin13" wrote:

1) Is there any way I can use the data from a cell - say B2, which contains a
stock symbol - to look up the current price for that stock symbol and insert
only the price in cell J2?

2) If 1 is possible, can I refine it such that it will only perform the look
up if cell G2='Y'?

3) Can this then be applied to every row of the worksheet?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Get Stock Quotes Via Cell Look Up

Yes, I want to get stock quotes from the internet. I haven't used web queries
before, but it looks like now might be the time to try them out.

I'll have to use formula since I've never used vba before.

Thanks!

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
Stock Quotes mman493 Excel Worksheet Functions 0 May 2nd 07 07:30 PM
Stock Quotes N&O H. Excel Worksheet Functions 2 March 18th 07 06:35 PM
How do i get historical stock quotes using MSN Money Stock Quotes Ash Excel Discussion (Misc queries) 0 May 11th 06 03:26 AM
getting stock quotes m_man Excel Discussion (Misc queries) 1 June 22nd 05 08:35 AM
Stock quotes Craig Excel Discussion (Misc queries) 3 April 30th 05 11:11 PM


All times are GMT +1. The time now is 04:27 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"