Help Needed for Macro-Write Yahoo Finance Live data to CSV file in C:\Test.csv

bobby6910

New Member
Joined
Jun 7, 2012
Messages
2
Hello Senior Members,
I request some senior member to please help.
I have put the following code in Excel
http://download.finance.yahoo.com/d/quotes.csv?s=^DJI+AA+AXP+BA+BAC+CAT&f=st1l1v&ignore=.csv
which downloads the Current data in Quotes.CSV file (opened new everytime I clk this link).
My simple requirement for help, as follows:
1) I want the o/p to be automatically stored to c:\Quotes.csv - which will not be open. It will be closed and data getting updated automatically.
2) How to re-run this code every 10 seconds?
3) When I clk the above link, a dialog box is shown :
"Opening http://download.finance.yahoo.com/d/quotes.csv?s=%5eDJI+AA+......+CAT&f=st1l1v&ignore=.csv
Some files may contain virus,...
Would you like to open? Y / N"
How to suppress this automatically and ensure that the data automatically starts updating?

Requesting help from senior members please.

warm regards...Bobby
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,215,343
Messages
6,124,405
Members
449,157
Latest member
mytux

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top