+ Reply to Thread
Results 1 to 6 of 6

Run every 5 minutes on new row

  1. #1
    Forum Contributor
    Join Date
    07-26-2009
    Location
    Slovakia
    MS-Off Ver
    Excel 2019
    Posts
    244

    Run every 5 minutes on new row

    Hello,
    I'd like to ask about one problem, I need record some data and my macro should run every 5 minutes and this data record on new row, I know how to run macro on every 5 minutes :
    Please Login or Register  to view this content.
    and I know how to record data on new row :
    Please Login or Register  to view this content.
    but together It doesnt work could anyone help me please?
    Last edited by miso.dca; 03-17-2010 at 04:22 AM.

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Run every 5 minutes on new row

    I would use this (without going into your own code)
    Please Login or Register  to view this content.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Run every 5 minutes on new row

    In addition to my previous post:

    If you want to run the procedure RunNTimes then use this code
    Please Login or Register  to view this content.
    The RunNTimes could be set in the coding (as it is now), but one could make that a user input as well.

  4. #4
    Forum Contributor
    Join Date
    07-26-2009
    Location
    Slovakia
    MS-Off Ver
    Excel 2019
    Posts
    244

    Re: Run every 5 minutes on new row

    thanks for help, but I need run macro every 5 minutes and each time record only 1 row not all of them ... probably I wasnt very clear, your macro record 10 rows then waits and then record 10rows again ...

  5. #5
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Run every 5 minutes on new row

    Come on Miso.dca !!

    I combined the two functions and this
    Please Login or Register  to view this content.
    is not giving us much to work with

    next I hope that you yourself can change 5 seconds into 5 minutes. For testing it is not really convenient to set a timer to 5 minutes.

    I focussed on the timing problem.

    record only 1 row not all of them
    does not explain what need to be recorded. Please explain further.

  6. #6
    Forum Contributor
    Join Date
    07-26-2009
    Location
    Slovakia
    MS-Off Ver
    Excel 2019
    Posts
    244

    Re: Run every 5 minutes on new row

    sorry, I wasnt able to login yesterday but I have solution, It looks something like this :
    Please Login or Register  to view this content.
    and I think everybody is able to edit this macro
    anyway thanks for help !

+ 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