Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Between recording a macro and creating a couple of loops (thanks to Merjet
from this Discussion Group), I came up with a way of querying the web site finance.yahoo.com. I set up to loop to import historical stock prices into Excel as well as certain information on the Summary screen. The only problem is that the information on the Summary screen is not consistent. Deep within my code, I tell Excel to look for the following: ..WebTables = "48,53" Usually this yields the desired results, but sometimes, I get the wrong information because the wrong WebTables are being queried for certain stocks. When I get these occasional errors, I can turn on the macro recorder and identify the WebTables that I really need (and they could be something like ..WebTables = "46,51" or .WebTables = "47,52") but this defeats the purpose of using a looping macro. Does anyone know why this occurs? More importantly, does anyone know who to resolve this issue? The Yahoo finance people are getting the right data into the right statistical categories, but they are not reporting these in the same WebTables. Regards, RyGuy-- |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Looping Macro | Excel Discussion (Misc queries) | |||
How do I use looping and offsets thru 2 tables to generate a cash flow per week | Excel Programming | |||
Looping macro | Excel Worksheet Functions | |||
Need help with my looping macro | Excel Programming | |||
Looping Macro | Excel Programming |