LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA for getting files off internet


Hi all,

I have a basic code that I found off the internet that takes a file
from a specifc web page. For a simple example, it is a historical
price file from Yahoo Finance.

1) The way the code currently runs, it opens up an explorer window and
navigates to the page with the file. Is there a way to tweak my code so
that it appears to grab the page behind the scenes?

2) I get the Save As prompt. Can I automatically save it to a
directory of my choice?

Therefore, when I run the module, no additional screens would have been
created, the file would have been saved to my directory automatically
(all behind the scenes).

Assuming these are pretty easy things to get around with VBA, my next
step would be to loop through all files in a directory. Is it possible
to have VBA recognize the number of csv files located at a specific URL
and loop through and do this process for each one? A reference for
what I am talking about would be something similar to this one:

http://www.census.gov/popest/states/...ST2003-02.html

Anyway, I appreciate any feedback you can provide.


--
Btibert
------------------------------------------------------------------------
Btibert's Profile: http://www.excelforum.com/member.php...fo&userid=8559
View this thread: http://www.excelforum.com/showthread...hreadid=537411

 
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
excel files open in internet explorer?? Dave F Excel Discussion (Misc queries) 3 October 26th 09 06:11 AM
How do I open temporary internet files mdoyer Excel Discussion (Misc queries) 3 October 12th 09 07:41 AM
Downloading files from the the Internet Megadrone Excel Worksheet Functions 1 November 29th 07 09:49 PM
Delete Temporary internet files junx13[_5_] Excel Programming 7 June 25th 04 12:54 PM
Listing Temporary Internet Files Alan Phang Excel Programming 3 February 11th 04 04:09 AM


All times are GMT +1. The time now is 12:56 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"