小妹想通过 plant simulation 的命令控制相关的excel 文件的行为。但是一直被说语句错误。。。我是这样写的: m; t0 ^( c. B6 a2 s+ }6 J
kanal:= DDEConnect("Excel", "Cost");: ~3 Y( F) G+ F' o5 R! w
DDEExecute(kanal,"Worksheets("Cost").Range("B129").Value = Worksheets("Cost").Range("G31").Value", 1000);* g1 w2 `+ t% l0 `9 [
DDEExecute(kanal,"Worksheets("Cost").Range("B121").Value = 35", 1000);) X: H$ s2 u# Y; l2 V
DDEDisconnect(kanal);0 t# k7 ? I1 H, B
系统一直报错,说语法有错。。。excecute 语句里的 cost那里有问题。。。。& `4 S& L1 n+ N! \# {
0 R, O3 L1 `, }请高手们不吝赐教~~小妹先谢过了~~~~ |