Results 1 to 6 of 6

Record Data Every Second Help

Threaded View

  1. #1
    Registered User
    Join Date
    10-23-2014
    Location
    Manchester
    MS-Off Ver
    2010
    Posts
    3

    Record Data Every Second Help

    Hi All

    I have been looking on line for a macro that record data in excel for every second, I managed to find one but the macro on captures the data on one cell though so I want to tweak it so that it captures a whole column

    But it don't seems to be working, the macro below still only record the data for the first cell, any suggestions on what I've done wrong?

    Thanks in advance!

    
    Dim TimeToRun
    
    Sub auto_open()
        Call ScheduleCopyPriceOver
    End Sub
    
    Sub ScheduleCopyPriceOver()
        TimeToRun = Now + TimeValue("00:00:01")
        Application.OnTime TimeToRun, "CopyPriceOver"
    End Sub
    
    Sub CopyPriceOver()
        Calculate
    
     Sheets("Data").Range("IV3:IV209").End(xlToLeft).Offset(0, 1).Value = Sheets("Data").Range("C3:C209").Value
        Call ScheduleCopyPriceOver
    End Sub
    
    Sub auto_close()
        On Error Resume Next
        Application.OnTime TimeToRun, "CopyPriceOver", , False
    End Sub
    Last edited by fuonli; 10-26-2014 at 12:05 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Userform Edit Record and GoTo record Command Buttons
    By 139runner in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 04-30-2020, 12:54 AM
  2. Replies: 4
    Last Post: 12-17-2012, 10:14 AM
  3. Replies: 1
    Last Post: 11-16-2012, 09:25 AM
  4. Command Buttons for Viewing Record, Next Record and Previous Record
    By david1987 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-23-2012, 06:30 AM
  5. Replies: 1
    Last Post: 01-17-2012, 10:47 AM

Tags for this Thread

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