+ Reply to Thread
Results 1 to 7 of 7

Automatically copy paste data at certain interval

  1. #1
    Registered User
    Join Date
    12-21-2013
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    46

    Automatically copy paste data at certain interval

    Hello Everyone,
    I already have data in columns A2:C376, header in first row. This is my table. I am getting fresh new data every minute from my other office in D2:F2 between 9.20 am to 3.30 pm. Now I want a macro that automatically run every minute and run only between 9.20 am to 3.30 pm. Insert new 3 cells at A2:C2. The old A2:C2 cells will move to A3:C3. At the same time delete last row no. 376. Than copy and paste new data from D2:F2 in newly inserted cells. This process continues between 9.20 am to 3.30 pm at every one minute interval.
    Thanks

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,616

    Re: Automatically copy paste data at certain interval

    What mechanism is used to feed data into D2:F2 range?
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    12-21-2013
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    46

    Re: Automatically copy paste data at certain interval

    Hi Kaper
    Thank you for your help
    We have office software through which I can link my workbook

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,616

    Re: Automatically copy paste data at certain interval

    So probably such code in standard module would do the job:


    Please Login or Register  to view this content.
    You run Main_macro and it works every full minute between set times. To stop it use the kill_the_repetition macro.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-21-2013
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    46

    Re: Automatically copy paste data at certain interval

    Many Thanks Kaper,
    I will see the result in couple of days.

    Regards.

  6. #6
    Registered User
    Join Date
    12-21-2013
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2016
    Posts
    46

    Re: Automatically copy paste data at certain interval

    Hi Kaper,

    Sorry for the delayed response. Many thanks for helping me out. This code is working absolutely fine.

    Regards

  7. #7
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,616

    Re: Automatically copy paste data at certain interval

    Glad to hear so.
    As the solution works, it would be a good idea to mark thread as Solved.
    Above your first post you will find Thread Tools to do it.

    It would be lovely if you could also "add me some reputation" by clicking a small star icon in lowerleft corner of my post(s) and then confirm in pop-up message (note that some browsers block this pop-up).

    Best regards,

    Kaper

+ 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. [SOLVED] Copy Paste data after specific Time Interval
    By Enroll in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-24-2020, 01:21 AM
  2. Copy Paste at Time Interval
    By Nikhil212 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-26-2020, 01:41 PM
  3. Copy and Paste done at time interval
    By mcp77 in forum Excel General
    Replies: 5
    Last Post: 10-20-2016, 10:56 AM
  4. Copy and Paste down at time interval
    By mcp77 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-12-2016, 02:51 AM
  5. Replies: 6
    Last Post: 03-26-2014, 11:40 PM
  6. copy paste with interval
    By pani_hcu in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-18-2009, 01:27 PM
  7. copy and paste of columns with interval
    By pani_hcu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-16-2009, 10:11 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