+ Reply to Thread
Results 1 to 4 of 4

Get values every 4 minutes

  1. #1
    Registered User
    Join Date
    08-06-2014
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    3

    Get values every 4 minutes

    Hey guys,

    I'm fairlly new to VBA programming. I want an updating field to be copied into the next empty column every 4 minutes and was wondering if anyone had an idea to do so, with the least amount of processing power to do so. At the same time, I want a time stamp to be inserted above the column.

    At first I used "end.Xl" and copy/paste-special, but that was quite consuming of data power.

    Preferably it should go to one worksheet to another, without automatic screen updates and such. This is the code I've come up with so far:

    Please Login or Register  to view this content.
    I also tried to get it run at 8:30 every morning, every 4 minutes, until 17:00 but seem to get it to work. Much appreciated if anyone could help me with this code as well.

    Please Login or Register  to view this content.
    Kind regards,
    pippinsmckey

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,897

    Re: Get values every 4 minutes

    crossposted: http://www.mrexcel.com/forum/excel-q...4-minutes.html

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    08-06-2014
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    3

    Re: Get values every 4 minutes

    Sorry my friend, being new here doesn't excuse me from cross-posting although I was not aware.

    Sorry for taking up the moderator's time. Would although very much appreciate an answer.

    Kind regards,
    pippinsmckey

  4. #4
    Registered User
    Join Date
    08-06-2014
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    3

    Re: Get values every 4 minutes

    I can't get the scheduling to work at all. Can anyone please look at the Application.OnTime code and see if there's any mistakes in there? Can't simply get it to work, get errors et cetera. I seem to follow the instructions (and it looks to be in the right format), but am I missing something?

    Would be grateful for any kind of help.

    Kind regards,
    pippinsmckey

+ 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. Excel 2007 : Convert number of minutes to hours and minutes
    By MikeFromIndy in forum Excel General
    Replies: 30
    Last Post: 06-05-2015, 08:10 AM
  2. Replies: 1
    Last Post: 12-22-2013, 08:04 AM
  3. [SOLVED] Calculating mean values every 10 minutes for dataset with irregular timestep
    By irJbari in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-08-2012, 04:05 AM
  4. calculation with hours and minutes - input of negative values
    By MichaelMichael in forum Excel General
    Replies: 2
    Last Post: 07-10-2006, 01:49 PM
  5. Replies: 2
    Last Post: 05-25-2005, 12:06 PM

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