+ Reply to Thread
Results 1 to 4 of 4

Auto Refresh Incoming Data From Another Source

  1. #1
    Registered User
    Join Date
    02-06-2012
    Location
    NY
    MS-Off Ver
    Excel 2007
    Posts
    25

    Auto Refresh Incoming Data From Another Source

    Hi,

    I have connected an excel file to a csv. Csv updates every second, but the lowest time possible for the excel file to refresh is 1 minute. I need the data to be imported less than a minute. For eg 5 seconds or 3 seconds. I guess I need a macro to refresh excel import every 3 or 5 seconds.

    Thanks in advance.
    Attached Images Attached Images
    Last edited by Hajik; 03-15-2012 at 09:50 AM.

  2. #2
    Forum Contributor
    Join Date
    09-08-2011
    Location
    Leicester, England
    MS-Off Ver
    Excel 2007
    Posts
    157

    Re: Auto Refresh Incoming Data From Another Source

    I'm working on something very similar to this also
    Please Login or Register  to view this content.
    something like that would work, so similar to sleep in scripts, excel vba uses the wait command

  3. #3
    Registered User
    Join Date
    02-06-2012
    Location
    NY
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Auto Refresh Incoming Data From Another Source

    It didn't work. Is it possible to write a macro to automatically push refresh button in data tab every 3 seconds?
    This button works manually. I guess a macro can activate this button automatically and so we get a refresh.
    Attached Images Attached Images

  4. #4
    Registered User
    Join Date
    02-06-2012
    Location
    NY
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Auto Refresh Incoming Data From Another Source

    Ok solved it with the help of dear kieranbop.
    Came back to give the complete answer in case anyone would need this in future.

    Create a Module and type this in it:

    Please Login or Register  to view this content.
    In workbook type this:
    Please Login or Register  to view this content.
    And at last type this in your current sheet.
    Please Login or Register  to view this content.
    Last edited by Hajik; 03-15-2012 at 09:51 AM.

+ 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