+ Reply to Thread
Results 1 to 5 of 5

Automatic Currency Data and Time Generation

  1. #1
    Registered User
    Join Date
    12-11-2014
    Location
    Tehran, Iran
    MS-Off Ver
    2010
    Posts
    2

    Automatic Currency Data and Time Generation

    Hello guys,

    I want to make a historical dataset of the latest currency rates values, in two columns.
    Occurrence Time and Rate.
    for example;
    I've connected to "MSN Money" service via the following path:
    Data > Existing Connections > "MSN MoneyCentral ..." service. as you can see in the uploaded file. It provides latest currency rates every refresh interval.
    I've set the values to be refreshed every 1 min.
    Now, I want two columns, one (Rate column) representing every 1min value of Euro/USD to be located below the last recorded one dynamically, and one (Date Column) to record the occurrence date/time next to rate column automatically, as soon as rate values are generated.

    It means if I leave it alone for one hour, I should expect to see a 60x2 table containing below sample information which are generated automatically:

    12/11/2014 12:00 1.2445
    12/11/2014 12:01 1.2446
    12/11/2014 12:02 1.2443
    .
    .
    .
    12/11/2014 12:59 1.2440

    Any clue would be highly appreciated
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Automatic Currency Data and Time Generation

    hi aschkant, welcome to Excelforum, though you have made a post in Formulas section this is VB option of doing that. As there is time lag between refershing data and actual output to the sheet the records might have time intervals shown more than a minute.
    Open file, Sheet3, wait and check

    Just for your information there is a bundle of different Forex trading platforms around that allow export of currence quotes historical data to Excel or CSV files.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-11-2014
    Location
    Tehran, Iran
    MS-Off Ver
    2010
    Posts
    2

    Re: Automatic Currency Data and Time Generation

    Hi Watersev,
    You're brilliant, and that's it
    Thank you so much.
    Would you please share the source code so I can use it in similar situations again?

  4. #4
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Automatic Currency Data and Time Generation

    Sheet Currency code:

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    10-03-2012
    Location
    USA
    MS-Off Ver
    2010
    Posts
    496

    Re: Automatic Currency Data and Time Generation

    Hi waterserv
    I am also looking for MSN on-line currency exchanger. I do not know if I use your file correctly.
    When the file is opened to Sheet3,then I go to the "currency" worksheet, there is a table of currency
    exchange. So I play around try to refresh, in Data menu > Refresh All, the table disappeared leaving
    text format. (I enable the security content)

    Is there a marco button to refresh and update the table without loosing the table?


    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Automatic generation of Start time, end time and total time in excel
    By dreamwarden in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-21-2013, 08:03 PM
  2. Automatic email generation
    By Saky in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-06-2010, 10:50 AM
  3. Excel 2007 : Automatic Chart generation
    By hoobnb1 in forum Excel General
    Replies: 1
    Last Post: 10-19-2010, 09:23 AM
  4. Automatic number generation.
    By BM in forum Excel General
    Replies: 1
    Last Post: 08-14-2006, 09:40 AM
  5. Automatic E-Mail Generation
    By pikus in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-14-2005, 03:50 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1