dde Link VBA instruction

KEN_KACEL

Member
Join Date
Nov 2002
Location
NORTH COUNTRY
Posts
162
I resurrected a debugging tool for a job I did 3 years ago.
I have activeX buttons with some VBA code to select some PLC registers:
RSIchan = DDEInitiate("RSLINX", "FISH_FEED_X6")

The buuton keeps hanging up on this command.
What would of changed? I am usig RSLinx (CPR 9).
Would this have anything to do with it?

I have additional excell sheets for other projects that may not work?
 
RSIchan = DDEInitiate("RSLINX", "FISH_FEED_X6")


Try RSIchan = Application.DDEInitiate("RSLINX", "FISH_FEED_X6")
Make sure that "FISH_FEED_X6" is defined in RSLinx as a DDE Topic.
 
Tried : RSIchan = Application.DDEInitiate("RSLINX","FISH_FEED_X6")

No go...

There is an error message popup:

can't compile error
can't find library or project
 
Do you have a topic in RSLinx defined as FISH_FEED_X6?


Another thought, what version of RSLinx are you using?
 
What other software is involved?

I know that Micro$oft tends to change their Office software regularly. Is it a different version of Office? What about the security settings? Are macros possibly disabled?
 

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
770
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...
Replies
2
Views
1,879
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,352
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,593
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,423
Back
Top Bottom