AGG Software Forums
September 19, 2024, 07:37:19 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome on our forum!
 
   Home   Help Search Login Register  

Pages: [1]
  Print  
Author Topic: How Excel work with DDE?  (Read 16393 times)
JoySun
Newbie
*

Karma: +0/-0
Posts: 1


View Profile
« on: May 09, 2009, 05:39:45 AM »

The Measurement data could be sent to EXCEL by DDE. 
We can see the data show out in DDE server.
The data also show out in Cell(21,4),
    refers the example download from:
    http://www.aggsoft.com/asdl-excel-read-via-dde.htm

Why the data will not show out in Cell(1,1), Cell(2,1),..., etc.,
   When data send out one by one?

Why the VB does not execute "Private Sub Worksheet_Calculate()"
   or "Private Sub Worksheet_Change(ByVal Target As Range)"
   when DDE transfer data to correct location.

When manual typing data instead DDE doing to Cell(21,4),
   the excel does execute VB and send data to Cell(1,1), Cell(2,1),...,etc..

The system OS is WinXP Pro. SP3, Excel is 2003 SP3.
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #1 on: May 09, 2009, 08:39:08 AM »

Did you allow macros in Excel? When you open the example file, the Excel should ask you about it.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines