Solved

Excel VBA get range prices from historical stock prices

Posted on 2015-02-04
6
174 Views
Last Modified: 2016-02-10
I have a excel workbook with price-downloader macro, attached. What I'm looking for is a solution to get and store only data I need. Please see attached file for explanation.
Also I'd like to get an expert opinion about optimization of a quote downloading macro I have.
Thank you in advance.
Yahoo.xls
0
Comment
Question by:gspodaku
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 30

Expert Comment

by:gowflow
ID: 40589550
When you say:

One way would be to get needed data from those sheets and delete them but I think it is not the smartest way.

You mean you want all the data in sheet input ?
like
MSFT      1/1/2015      2/1/2015
should be 1 row only for this date range the
Open Price      Highest High      Lowest Low      Close Price

or it should be for every day during this period ?

Can you simply give us the real figures for these
MSFT      1/1/2015      2/1/2015
IBM              1/1/2015      2/1/2015
GOOG      1/1/2015      2/1/2015
GE              1/1/2015      2/1/2015

so we know how to go about doing the calculations ?
gowflow
0
 

Author Comment

by:gspodaku
ID: 40589676
What I need are Open Price, Highest High, Lowest Low, Close Price of specified date range for each Ticker.

I need to fill "yellow square" with data.
For example row for MSFT should look like:
Ticker      Start      End      Open Price      Highest High      Lowest Low      Close Price
MSFT      1/1/2015      2/1/2015      46.66      47.91      40.35      40.40



P.S.
I forgot to mention that I need it to work in MS Excel 2003.
0
 
LVL 30

Expert Comment

by:gowflow
ID: 40589725
yes ok pls test this file it will get you the values in Input sheet and will not create the sheets.
gowflow
Yahoo-V01.xlsm
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 30

Accepted Solution

by:
gowflow earned 500 total points
ID: 40589738
Ooops !!! just saw your Excel 2003 ~~

Here it is.
gowflow
Yahoo-V02.xls
0
 

Author Comment

by:gspodaku
ID: 40589867
Thank you.
0
 
LVL 30

Expert Comment

by:gowflow
ID: 40590648
Welcome
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question