+ Reply to Thread
Results 1 to 3 of 3

Macro to auto-copy a cell and paste it in a another cell at particular times

  1. #1
    Registered User
    Join Date
    10-12-2018
    Location
    irvine
    MS-Off Ver
    2016
    Posts
    3

    Macro to auto-copy a cell and paste it in a another cell at particular times

    Macro to auto-copy a cell from particular column and paste it in a particular cell in a different column at particular times. This macro should automatically conduct these operations based on actual times from the computer
    Example: when it is 5am, the macro copies the value in cell k4 and pastes it in m1, then when it is 6am the macro copies the value in cell k4 and pastes it in m2, then when it is 7am the macro copies the value in cell k4 and pastes it in m3, and so on!
    Please assist with model code.

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,230

    Re: Macro to auto-copy a cell and paste it in a another cell at particular times

    Perhaps this will give you an idea...Every hour on the hour...
    As a tester ...
    Put the value 1 in Range("A1")
    "Test" in range("K4")
    Change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    to test every 5 sec

    Please Login or Register  to view this content.
    Last edited by sintek; 10-19-2018 at 03:32 PM.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    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,879

    Re: Macro to auto-copy a cell and paste it in a another cell at particular times

    Rule 03: Cross-posting Without Telling Us

    Your post does not comply with Rule 3 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question.

    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.

    Read this to understand why we ask you to do this.

    I have added the crosspost reference for you today. Please comply with this and all our rules in the future

    crossposted: https://www.myonlinetraininghub.com/...ar-times#p6733
    https://chandoo.org/forum/threads/ma...r-times.40047/
    https://www.ozgrid.com/forum/forum/h...rticular-times
    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

+ 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. Macro to auto copy a cell and paste it in a particular column
    By eakpan2012 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-22-2018, 05:35 AM
  2. Macro to auto copy a cell and paste it in a particular column
    By eakpan2012 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-12-2018, 11:09 PM
  3. VBA to copy-paste cell value X times
    By bebecin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-03-2017, 03:58 PM
  4. Copy and Paste Cell X number of times based on Adjacent Cell
    By GabeGabe in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-07-2016, 11:40 AM
  5. [SOLVED] Macro to copy a cell range and paste to a new sheet 'n' times where 'n' defined by formula
    By staminaboy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-26-2013, 11:39 AM
  6. Copy a row and paste it a number of times based on a cell value
    By glrubens in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-02-2013, 12:37 PM
  7. Copy every n cell and paste n-times
    By Kanja13 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-09-2010, 05:00 AM

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