Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Group,
The following quesry works, but is not bringing in the data I expected and want. It bring in May 29, 2009 through Jun 2, 2008. Looking for a single day. 5/29/2007, the parameters are as follows: StartMo = Month(startdate) StartDay = Day(startdate) StartYr = Year(startdate) StopMo = Month(startdate) StopDay = Day(startdate) StopYr = Year(startdate) The code is below: With ActiveSheet.QueryTables.Add(Connection:= _ "URL;http://finance.google.com/finance/historical?histperiod=daily&q=" _ & sym & "&startdate=" _ & StartMo & "+" & StartDay & "%2C+" & StartYr _ & "&enddate=" _ & StopMo & "+" & StopDay & "%2C+" & StopYr & "&output=csv", Destination:=Range("E3")) .Refresh BackgroundQuery:=False End With Thanks for your help, David |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
O.T. Google Search | Excel Discussion (Misc queries) | |||
using the google spreadsheets | Excel Worksheet Functions | |||
Problems with Google | Excel Discussion (Misc queries) | |||
Excel Discussion (Misc queries) | ||||
A pun on Google | Excel Programming |