Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default downloading charts from internet URLs using Excel VBA

For years I have been using Excel VBA to automate getting information
from internets sites. The following code will obtain TEXT, but not
objects such as a chart. Does anyone know a simple method to download
a chart?

With
Sheet1.QueryTables.Add(Connection:="URL;http://www.pcquote.com/stocks/QuoteDirect.php?ticker="MSFT"l,
Destination:=Sheet1.Range("A1"))
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.RefreshOnFileOpen = False
.BackgroundQuery = False
.RefreshStyle = xlOverwriteCells
.SavePassword = False
.SaveData = True
.Refresh BackgroundQuery:=False
End With

Wayne Andre




------------------------------------------------
~~ Message posted from
http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default downloading charts from internet URLs using Excel VBA

fix to suit...

http://groups.google.com/groups?hl=e...phx.gbl&rnum=5

tim


"rm24746" wrote in message
...
For years I have been using Excel VBA to automate getting information
from internets sites. The following code will obtain TEXT, but not
objects such as a chart. Does anyone know a simple method to download
a chart?

With

Sheet1.QueryTables.Add(Connection:="URL;http://www.pcquote.com/stocks/QuoteD
irect.php?ticker="MSFT"l,
Destination:=Sheet1.Range("A1"))
FieldNames = True
RowNumbers = False
FillAdjacentFormulas = False
RefreshOnFileOpen = False
BackgroundQuery = False
RefreshStyle = xlOverwriteCells
SavePassword = False
SaveData = True
Refresh BackgroundQuery:=False
End With

Wayne Andre




------------------------------------------------
~~ Message posted from
http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



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
Downloading files from the the Internet Megadrone Excel Worksheet Functions 1 November 29th 07 09:49 PM
In Excel using URLs, how to display pictures stored on a server? jwpowers Excel Discussion (Misc queries) 1 August 20th 07 10:50 PM
I`m want excel to automaticly put urls at a url. n00b Excel Discussion (Misc queries) 2 July 3rd 06 08:17 AM
i maintain DB of URLs in Excel. how can i avoid duplicate entry? Ajesh Excel Worksheet Functions 1 April 4th 06 05:48 PM
how can i make 2500 urls in an excel file hyperlinked quickly? M_E_Luft Excel Worksheet Functions 3 September 22nd 05 10:46 PM


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