+ Reply to Thread
Results 1 to 4 of 4

Is it possible to create a macro that gets CSV files online?

  1. #1
    Registered User
    Join Date
    04-14-2014
    Location
    montreal
    MS-Off Ver
    Excel 2012
    Posts
    27

    Is it possible to create a macro that gets CSV files online?

    Hello,

    i was wonder is there was any way I could go to the following website:

    https://www.ieso.ca/imoweb/pubs/mark...n_20140711.csv

    and copy paste it into an excel sheet. What i would need is to get this page and the previous 7 days by changing the date "20140711" to "20140710" and so on. Each orevious day needs to be copy pasted to a different sheet.

    As a new day occurs, I would like to delete the page 7 days ago and add the new day on a new sheet.
    I hope this is clear enough.

    Thank you!
    Last edited by jjsiow; 07-11-2014 at 04:18 PM.

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Lightbulb Re: Is it possible to create a macro that gets CSV files online?


    Hi,

    just notice Excel can open a csv file like a xls* workbook file, even via an url !

    Do it in Excel and via the Macro Recorder you'll get a code to start with !
    Last edited by Marc L; 07-11-2014 at 06:52 PM.

  3. #3
    Registered User
    Join Date
    04-14-2014
    Location
    montreal
    MS-Off Ver
    Excel 2012
    Posts
    27

    Re: Is it possible to create a macro that gets CSV files online?

    Hello,

    I'm sorry but I am having trouble following what you are telling me?

  4. #4
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Is it possible to create a macro that gets CSV files online?


    When you open a workbook, instead of selecting the workbook local path,

    just paste the URL of the csv file !

+ 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. Downloading online files using VBA
    By kurtmcgill in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-21-2013, 09:32 AM
  2. Accessing online excel-files
    By jaap85 in forum Excel General
    Replies: 2
    Last Post: 03-06-2012, 04:32 AM
  3. Where to find excel excerise files online
    By nesam in forum Excel General
    Replies: 1
    Last Post: 10-14-2008, 03:45 AM
  4. Listing all files in an online directory
    By paulharvey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-02-2006, 02:00 AM
  5. [SOLVED] Can I use Excel, opening and editing files, online?
    By AlisonHunter in forum Excel General
    Replies: 0
    Last Post: 06-01-2006, 06:45 AM

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