+ Reply to Thread
Results 1 to 2 of 2

VBA to automatically duplicate a cell every minute

  1. #1
    Registered User
    Join Date
    02-04-2018
    Location
    Virginia, USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    VBA to automatically duplicate a cell every minute

    Hello,

    I have a macro that automatically shift cells up 1 spot and deletes the first cell in the series when a new cell is filled at the bottom. Allowing only a certain number of cells but always having the most relevant data.

    The code is :

    Please Login or Register  to view this content.

    However, I have data that gives me the most current currency exchange price for the Eur/Usd and I wanted to have that data automatically populate the last cell in my series. However if I use a formula such as (=b2) the formula gets
    erases as soon as all the cells shift up. I want to have the price update once every minute and have the most recent data continually fed into my series.

    Can anyone help with this?
    Last edited by Leith Ross; 02-07-2018 at 07:39 PM. Reason: Added Code Tags

  2. #2
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,301

    Re: VBA to automatically duplicate a cell every minute


    Try:
    In the Vba editor:
    1. Sheet1 module:
    Please Login or Register  to view this content.
    2. Standard module, e.g. 'Module1':
    Please Login or Register  to view this content.
    3. ThisWorkbook module:
    Please Login or Register  to view this content.
    Attached Images Attached Images
    Attached Files Attached Files

+ 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. Trouble getting VBA to recognize/duplicate values in a thirty minute interval
    By Lawyerboy82 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2016, 01:29 PM
  2. AFter 5 minute of no activity , hit close button automatically
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-19-2015, 01:43 PM
  3. Add/Subtract value automatically from a cell every minute
    By barc0d3guy in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 10-31-2013, 03:40 PM
  4. [SOLVED] VBA for Automatically copy Row data to new worksheet every minute
    By naira in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-03-2013, 02:57 PM
  5. Speak a range of cells every minute automatically
    By Sarangsood in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-11-2013, 12:39 AM
  6. Automatically Save updating Cell range Value Every Minute and make line chart
    By geneeus in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-24-2012, 07:50 AM
  7. Automatically save excel worksheet in csv formate after 5 minute intervals
    By daniel4381 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-28-2008, 05:15 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