+ Reply to Thread
Results 1 to 2 of 2

Updating External DDE Tables Using a Manual Calculation Trigger Mechanism

  1. #1
    Valued Forum Contributor SDruley's Avatar
    Join Date
    04-27-2009
    Location
    Conover, NC
    MS-Off Ver
    Excel 2010 64 bit
    Posts
    415

    Red face Updating External DDE Tables Using a Manual Calculation Trigger Mechanism

    Well, I have some pretty simple code here that works if I step through it manually. But if I run the subroutine the screen will not update and the job doesn't get done.
    I have a workbook with 4 worksheets. On each worksheet is a table that updates to an outside DDE feed. Each table is identical and is pointing to the same feed. The only requirement for each table to work is to have it subjected to calculation.
    If I set the workbook to automatic calculation, all of the tables update nicely, but my application demands that it be run in manual calculation mode. How can I modify the code so that the tables update with the new values from the DDE?
    Submiting the workbook as an example would not help too much since the DDE is somewhat specfic to the user.

    Please Login or Register  to view this content.
    Turn Data into Information
    Turn Information into Knowledge
    Turn Knowledge into Direction
    Turn Direction into Leadership
    Turn Leadership into Results
    Stephen Druley

    It's not how quickly you think
    But how deeply you think
    The quality of thinking is measured
    by remoteness to conformance
    Stephen Druley

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Updating External DDE Tables Using a Manual Calculation Trigger Mechanism

    Updating will be performed by 'refresh' not by 'calculate'.

    I think this might suffice:

    Please Login or Register  to view this content.
    Last edited by snb; 12-20-2011 at 05:09 PM.



+ 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