+ Reply to Thread
Results 1 to 6 of 6

Build a Macro that can go online and export a data file to excel?

  1. #1
    Registered User
    Join Date
    07-06-2013
    Location
    Dallas
    MS-Off Ver
    Excel 2010
    Posts
    3

    Build a Macro that can go online and export a data file to excel?

    I am working with a lot of online databases with which I have to go online, pull data and use the online export to excel function. Is there a way to build a macro to do this?

    This isn't pulling data from a webpage with XML format tables that can be imported using a web query; it is a webpage which has my query listed and allows me to export to excel. Running the query online and then export results to excel is the action I want the macro to perform.

    Thanks for any guidance!
    Willy

  2. #2
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Build a Macro that can go online and export a data file to excel?

    Hello and welcome to the forum,

    Can you use the macro recorder, perform the standard tasks that you normally would do and then post the resulting code? Also it would be helpful to know the site URL.

    abousetta
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  3. #3
    Registered User
    Join Date
    07-06-2013
    Location
    Dallas
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Build a Macro that can go online and export a data file to excel?

    Thanks for the fast reply abousetta. The URL is a secure company site. The steps are not the problem with the recorded macro, the problem is the export functioning. Have you ever seen this done?
    Thank you!
    Willy
    Last edited by WillyBanks; 07-06-2013 at 11:16 PM.

  4. #4
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Build a Macro that can go online and export a data file to excel?

    Do you mean you click on a button or other hyperlink on a webpage and it opens an excel file on your computer?

  5. #5
    Registered User
    Join Date
    07-06-2013
    Location
    Dallas
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Build a Macro that can go online and export a data file to excel?

    click a button on a webpage and it opens an excel file with the data requested in the query

  6. #6
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Build a Macro that can go online and export a data file to excel?

    Would something like this work for you? You would need to know the URLs in advance though. Also there is this tutorial using a different approach.

    abousetta

+ 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