+ Reply to Thread
Results 1 to 3 of 3

Import Data from Webpage

  1. #1
    Registered User
    Join Date
    01-28-2014
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    17

    Import Data from Webpage

    Hi, I need to pull data from a webpage once a day, however the web address will differ every day that I run the program. The only difference in address is the final part which uses a date. I was wondering if there was any way to tweak the code to use the date I need (which will always be yesterday's date). Here is the code I have using what I need for today (notice yesterday's date in the URL). Tomorrow I will need data from that website but ending "2015-01-06"....the next day will need "2015-01-07"....and so on.

    Please Login or Register  to view this content.
    Last edited by kosti; 01-07-2015 at 10:34 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    11-26-2012
    Location
    Sydney
    MS-Off Ver
    2010
    Posts
    422

    Re: Import Data from Webpage

    This will give you the URL with yesterday's date formatted as yyyy-mm-dd
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-28-2014
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Import Data from Webpage

    Brilliant thank you!!

+ 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. Want to Import Data from WebPage
    By hkharabe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-28-2014, 11:20 PM
  2. import specific data from a webpage into excel with VBA
    By wolfram13 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2013, 01:26 PM
  3. How to import data from webpage (from ajax)
    By Excellearner2012 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-23-2012, 03:39 PM
  4. Import a data from webpage into excel
    By sarath25 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-29-2011, 05:42 AM
  5. more than 100 webpage import data macro
    By haiintha in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2011, 05:02 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