+ Reply to Thread
Results 1 to 4 of 4

Importation of .CSV file

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

    Importation of .CSV file

    Hello,

    I have an excel macro that imports the last 7 days of values from a website. it can also import the present day and delete the 7th furthest day.
    I have attached my macro.
    the website is:

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

    where the YYYYMMDD represents a specific date.


    What I would need is essentially something very similar. I would like to have a button "today", that when you click you import today data onto a static sheet called "today" as well as import yesterday's data onto a sheet called yesterday.

    I would also like to be able to place a specific date in a cell, for instance "20140803" and it would have a button called date, and essentially fetch rhis data for that date and paste it into a sheet called "specific date".

    Your help would be mich appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,987

    Re: Importation of .CSV file

    For Today:

    Please Login or Register  to view this content.
    For Yesterday

    Please Login or Register  to view this content.
    For a specific Date or Date String in, say, cell A2 (formatted for YYYYMMDD if it is a date)

    Please Login or Register  to view this content.
    Last edited by Bernie Deitrick; 08-07-2014 at 12:47 PM.
    Bernie Deitrick
    Excel MVP 2000-2010

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

    Re: Importation of .CSV file

    Thank you so much!

    However, is there anyway of pasting the specific date on a sheet called "specific date"?

  4. #4
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,987

    Re: Importation of .CSV file

    Of course

    Please Login or Register  to view this content.

+ 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. Open 2nd file(CSV) from cell reference, copy columns to main file & close 2nd file
    By Langchop in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2013, 05:09 AM
  2. Data importation with multiple criterias
    By letapageur in forum Excel General
    Replies: 0
    Last Post: 07-05-2012, 05:06 PM
  3. .CSV file importation & URL
    By nikkoft in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-20-2011, 08:06 AM
  4. picture importation
    By sdts in forum Excel General
    Replies: 1
    Last Post: 07-17-2011, 08:57 AM
  5. Basic Data importation macro
    By tomnag in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2011, 08:23 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