+ Reply to Thread
Results 1 to 4 of 4

Using VBA to query data from the web

  1. #1
    Registered User
    Join Date
    02-02-2012
    Location
    Denver, Colorado
    MS-Off Ver
    Excel 2010
    Posts
    35

    Using VBA to query data from the web

    Hello,

    I am pretty new to VBA still and am having trouble getting started on an application that I would like to create so any help would be greatly appreciated. The details of what I would like to accomplish is below.

    I am trying to create a foreign exchange calculator in excel using VBA to create all the functions of the application. The website I have found that I believe will work in querying the data is http://www.imf.org/external/data.htm and more specifically, the exchange rate data section. I would like to program the application to allow the user to specify what date range they would like and this is where I need help. Is there anyway to program VBA to allow the user to select specific requirements such as length of time and which exchange rates they would like then pull in the data provided by the IMF website into excel? The purpose of the application is to give the user exchange rates with real time data given a certain currency.

    Thank you for your help, again any advice on this will be greatly appreciated.

  2. #2
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: Using VBA to query data from the web

    open an excel file
    activate sheet1

    try this macro


    Please Login or Register  to view this content.
    I am not an expert. better solutions may be available
    $$$$venkat1926$$$$@gmail.com

  3. #3
    Registered User
    Join Date
    02-02-2012
    Location
    Denver, Colorado
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: Using VBA to query data from the web

    That worked perfect! Thank you! I have another question related to this, If I were to create a user form that allowed a user to specifically pick out different parameters would I be able to communicate with html to navigate through web pages? For example on this page http://www.imf.org/external/np/fin/e...yDataBase.aspx. Could I use VBA to tell the web browser to pick specific options and dates? I know that I can look at the source code on each page but I'm not sure how to communicate with those specific objects. This maybe be extremely complicated and I would like to thank you for the help that you have given me thus far

  4. #4
    Valued Forum Contributor
    Join Date
    05-21-2009
    Location
    Great Britain
    MS-Off Ver
    Excel 2003
    Posts
    550

    Re: Using VBA to query data from the web


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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