+ Reply to Thread
Results 1 to 7 of 7

Help needed : macros to start and stop auto update every minute.

  1. #1
    Registered User
    Join Date
    12-20-2014
    Location
    India
    MS-Off Ver
    office 2007
    Posts
    73

    Question Help needed : macros to start and stop auto update every minute.

    The enclosed sample excel gets real time intra-day quotes from google finance.
    I wish to add two macros so as to 1. start getting quotes automatically every 60 sec (1 min), 2. Stop auto-update.
    Can anyone help please ?
    Attached Files Attached Files

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Help needed : macros to start and stop auto update every minute.

    Hi chaitreya

    Place this Code in a General Module
    Please Login or Register  to view this content.
    Place this Code in ThisWorkbook Mudule
    Please Login or Register  to view this content.
    Assign StartTimer to the Auto Update Button

    Assign StopTimer to the Stop Auto Update Button.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    12-20-2014
    Location
    India
    MS-Off Ver
    office 2007
    Posts
    73

    Re: Help needed : macros to start and stop auto update every minute.

    Thanks a lot.

    Today I am unable to check the working of this code as stock markets are closed. I will check on Monday after markets open.

  4. #4
    Registered User
    Join Date
    12-20-2014
    Location
    India
    MS-Off Ver
    office 2007
    Posts
    73

    Re: Help needed : macros to start and stop auto update every minute.

    I am very sorry to say, it's not working.
    After starting 'StartTimer', it updates the quotes only once but fails to Auto Update every min thereafter.

  5. #5
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Help needed : macros to start and stop auto update every minute.

    Hi chaitreya

    Of course...add the indicated line of Code to Sub GetRTData()

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    12-20-2014
    Location
    India
    MS-Off Ver
    office 2007
    Posts
    73

    Re: Help needed : macros to start and stop auto update every minute.

    Thanks a lot.

    Its worked perfectly !!!

  7. #7
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Help needed : macros to start and stop auto update every minute.

    You're welcome...glad I could help. Thanks for the Rep.

+ 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. Six 30 minute fixed countdown timers with start, stop and reset buttons.
    By Marty62 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-18-2014, 07:31 AM
  2. Replies: 2
    Last Post: 12-18-2014, 02:33 AM
  3. Start/Stop button help Timer auto update
    By Tortus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-30-2014, 11:16 AM
  4. to update stop watch in excel with start/pause and reset options.
    By harry_appu in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-25-2013, 01:42 PM
  5. [SOLVED] Auto update formula every minute
    By rtesone in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-16-2013, 01:59 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