+ Reply to Thread
Results 1 to 5 of 5

Macro that can obtain data daily from a chart and append to a row

  1. #1
    Registered User
    Join Date
    02-03-2012
    Location
    Missouri
    MS-Off Ver
    Excel 2010
    Posts
    3

    Macro that can obtain data daily from a chart and append to a row

    Hi everyone,
    I am learning about macros and would like to include them in my work. I need some help with a project. I have a file already, but it is too big to post. I am willing to email it to anyone who wants to help me.

    I am working on am excel file that analyzes index prices. It monitors personal aspects I designed as triggers to make decisions on buying and selling funds.

    I would like to be able to open the excel and have itself update itself. I have a solution now, but it take daily action on my part. If I didn't do it for few days it would be nice if it did it itself.

    I am looking to append the closing prices of the funds to my already established chart at the bottom. I used DATA>FromWeb to get the last two days of data.(I used the last two days in an early attempt for my project) It would be nice to be able to use DATA>FromWeb, get 20 to 30 days of data, and then let the macro decide when the last update was and where it needs to begin its append operation.

    I would appreciate any help on this and am willing to answer question to clear anything confusing up. My current solution comes from a modified version of this thread "http://www.excelforum.com/excel-programming/754483-macro-to-append-data.html"

    Hopefully I can get some help soon.

    Thanks guys and gals,
    Josh

  2. #2
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Macro that can obtain data daily from a chart and append to a row

    Have you tried this?

    Please Login or Register  to view this content.
    Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
    I am the real 'Napster'
    The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

    If you receive help please give thanks. Click the * in the bottom left hand corner.

    snb's VBA Help Files

  3. #3
    Registered User
    Join Date
    02-03-2012
    Location
    Missouri
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Macro that can obtain data daily from a chart and append to a row

    JapanDave,
    I would like to try that, but I am still very new to macros. I added that as a new macro in VBA, below my original macro. Does it now know how to run on its own? Can I just close my excel files and VBA and it will update at 12:00:00 daily ? A little explaining may help thanks.
    Josh

  4. #4
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Macro that can obtain data daily from a chart and append to a row

    Can you post the full code?

  5. #5
    Registered User
    Join Date
    02-03-2012
    Location
    Missouri
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Macro that can obtain data daily from a chart and append to a row

    Sure can, I will also include the files. You can see I did some test runs just changing the data in book1 and seeing if book2 works properly. Thanks


    Please Login or Register  to view this content.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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