DDE link in Excel to contrologix

doggo

Member
Join Date
Apr 2007
Location
USA
Posts
11
Folks,

I have a excel linking question that I have not been able to solve or find an answer to via googling.

I want to assign a spreadsheet cell with a formula like so:

=RSLINX|CLXPLC!'tagname[excel cell reference].property'

where: -tagname is an CLX DINT array like "tagname[100]".
-excel cell reference is a cell like "C2" or "D1"
-.property is a property tag of type DINT (for this example)


The Problem is the reference 'excel cell reference'. If I plug a number into the array, like [92], no problem and the PLC data is retrieved. But if I try to use a cell reference from within the spreadsheet, it doesn't work. My array number is in cell C2 so I've tried using !C2, 'C2', #C2 etc etc but always get a #NAME error.

Does anyone know how this is done? :confused: I have a feeling I need to cocantenate a string of the formula I want, first...

Tanks!
 
A total wild guess, I have not tried it, did you name the cell and then try to reference it in place of the C2?

Another guess, =C2.
 
After a bit of searching the web it does not seem possible.

The only solution I could find was to use VBA.
 

Similar Topics

Dear Friends; I copy the link of Tag value and paste it as a link in Excel but Cell shows #REF The images are attached where i am wrong...
Replies
1
Views
766
I am trying to run an excel file in 2003 which has DDE links and push buttons. I get an error when running one of my push buttons . It errors on...
Replies
5
Views
5,574
Hi All, I have been doing MS Excel worksheets collecting data from ML1400 via RSLinx OPC / DDE Topic. I have made it work but when I am doing new...
Replies
0
Views
3,406
I'm using DDE/OPC Links in excel to aquire data from a 5/04 over a DH+ Network. As I understand it, after your topic, and address you have L1 =...
Replies
9
Views
6,562
Hi Guys, I want to query Unsigned DWORD in Top Server from Intouch but intouch only supports Signed Integer or real. When I use Integer or real...
Replies
0
Views
2,345
Back
Top Bottom