+ Reply to Thread
Results 1 to 4 of 4

DDE Data Recording Macro problem?

  1. #1
    Registered User
    Join Date
    11-05-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    4

    DDE Data Recording Macro problem?

    Hi Guys,

    New here. I am building a spread to analyze several securities trading indicators by extracting data from my trading platform. I found a template on your forum from 2012 that works great. The information updates in the cells and I have already applied a macro to record the entries as they change on any time interval I need.

    My issue is how it is recorded. At the moment it simply begins filling in a column in a descending fashion to whatever range I want then essentially stops once it fills up the allotted cells. This is no good as I need the data to scroll like a live feed from top to bottom (Most recent to oldest). Basically have the live cell at the top then after each update have it bumped down a cell until it reaches...say 100 then is pushed out of the data range.

    The current code is below. There are stop and start timer entries which aren't relevant to my problem.

    Please Login or Register  to view this content.
    Through my other research I found another code which does exactly what I need but, despite it being used live in a YouTube video I can't get it to work properly. Any thoughts on combining the two would be glorious.

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor xlbiznes's Avatar
    Join Date
    02-22-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    1,223

    Re: DDE Data Recording Macro problem?

    Hi,

    let us assume that your first row has column headers.

    Always populate the data from your traders workstation to the 2nd row.

    Insert a new row in row 2 and this will push the data down by doing this you latest data will be on top and in descending order.
    Happy Computing ,

    Xlbiznes.

    To show your appreciation please click *

  3. #3
    Registered User
    Join Date
    11-05-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    4

    Re: DDE Data Recording Macro problem?

    The live data feed is at the top of the recorded data. But it does not insert the data right below it. So the first recorded entry would be right. So the live data is in say A1, Then the first recorded entry goes in A2 then the next is inserted into A3 and so on. What I need is for every new recorded entry to insert into A2 and bump the next oldest down one.

  4. #4
    Registered User
    Join Date
    11-05-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    4

    Re: DDE Data Recording Macro problem?

    I have it working. All fixed. Thanks anyways.

+ 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. Using a filter while recording a macro problem
    By oniete1997 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-31-2012, 09:56 PM
  2. Problem with Copying & Pasting whislt recording a Macro
    By EXCELNEWCOMER in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-28-2010, 09:25 AM
  3. Any ideas on Macro Recording Problem!
    By squiggler47 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-04-2009, 07:36 AM
  4. Macro recording problem.
    By leats1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-24-2005, 06:05 PM
  5. problem recording macro in excel 2003
    By Davi0 in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 05-20-2005, 04:33 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