Citect <-> Excel via DDE

ADoozer

Member
Join Date
May 2013
Location
Albury,NSW
Posts
40
Hi all.

Citect 7.3 SP1 / Excel 14 (2010)

I am able to use DDEWrite and DDERead within cicode to set cells and read cells in excel. However doing so does not cause the Worksheet_Change event to fire, which I need to trigger a macro to run the solver add in.

I think I need excel to perform a DDERead from Citect to allow my Worksheet_Change() event to fire, however I am unable to find the syntax for reading from Citect.

I have tried googling with no luck.

Any help greatly appreciated.

(PS this inter-app comms is a condition within an FDS which is non negotiable)

Regards Dave
 
Never mind.

I found the solution in the citect 7.2 manual.

=Citect|Variable!'Process Variable 1'

However it did not solve my problem. My macro still does not trigger.


Back to the drawing board!!

Regards Dave
 

Similar Topics

Hello Everyone, I am working on reports in Vijeo Citect V7.40. I want to generate a report whenever I press the button. I am able to generate it...
Replies
0
Views
873
Hello! I'm trying to view an excel-sheet on a page in Citect. But I can't find a good ActiveX component. Tried microsoft web browser but it just...
Replies
0
Views
1,440
How can you open the excel file from Citect. I'm testing this code in cicod but he does not seem to work. Can you help me with it? FUNCTION...
Replies
8
Views
5,180
Hi All, I'm trying to set up a connection to move data from Citect to Excel using ODBC and SQL statements but i'm not having much luck. I'm...
Replies
12
Views
11,817
Hi, Can any body help me I need to set up a Excel sheet to read data from Citect. The DDEformula.xls do not work on Office 2007. Did any body...
Replies
13
Views
5,457
Back
Top Bottom