Duranthas
Lifetime Supporting Member
Thanks to quite a bit of searching and the sample VB/VBA various members have posted I have figured out how to write macros in Excel and an ugly VB program to read/write to my processors with DDE. After reading around I hear quite a bit of discussion about how OPC is better than DDE, but don't see much if any examples of how to do this. Is OPC more complicated and therefore not really worth the hassle when mainly dealing with Excel? I've found various programs one can purchase which do this but not much "code". Eventually I'd like to write a simple program in VB that pulls production/downtime and a few other tidbits and throws them into an Excel file. The reason I'm becoming more interested in OPC than DDE is because to my understanding DDE is losing its support in newer versions of VB.
Thanks for any input
Thanks for any input