Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default Index in google finance

Hi Group,

I am doing a query:

myurl = "http://finance.google.com/finance/historical?histperiod=daily&q=" _
& sym & "&startdate=" & StartMo & "+" & StartDay & "%2C+" & StartYr &
"&enddate=" _
& StopMo & "+" & StopDay & "%2C+" & StopYr & "&output=csv"

Set qt = ActiveSheet.QueryTables.Add( _
Connection:="URL;" & myurl, _
Destination:=Range("G3"))
With qt
.BackgroundQuery = True
.TablesOnlyFromHTML = False
.Refresh BackgroundQuery:=False
End With

This works, except when I am trying to get one of the Indexes, like the SP
500 or DJI. Anyone know what it is that I need to do to get them?

Thanks,
David
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Index in google finance

DJI
http://www.google.com/finance/histor...Jun+20%2C+2009
Obtained from
http://www.google.com/finance/histor...=INDEXDJX:.DJI

Mishell

"David" wrote in message
...
Hi Group,

I am doing a query:

myurl = "http://finance.google.com/finance/historical?histperiod=daily&q="
_
& sym & "&startdate=" & StartMo & "+" & StartDay & "%2C+" & StartYr &
"&enddate=" _
& StopMo & "+" & StopDay & "%2C+" & StopYr & "&output=csv"

Set qt = ActiveSheet.QueryTables.Add( _
Connection:="URL;" & myurl, _
Destination:=Range("G3"))
With qt
.BackgroundQuery = True
.TablesOnlyFromHTML = False
.Refresh BackgroundQuery:=False
End With

This works, except when I am trying to get one of the Indexes, like the SP
500 or DJI. Anyone know what it is that I need to do to get them?

Thanks,
David



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
chart in excel like google finance chart Laoballer Charts and Charting in Excel 3 October 26th 09 05:46 PM
Google finance David Excel Programming 7 February 3rd 09 04:35 AM
Finance Functions monkey Excel Worksheet Functions 0 August 20th 08 02:26 AM
finance functions not available Ivanl Excel Worksheet Functions 8 July 24th 07 08:06 PM
Finance Formula Help JCH Excel Worksheet Functions 3 April 10th 06 04:45 PM


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