小妹想通过 plant simulation 的命令控制相关的excel 文件的行为。但是一直被说语句错误。。。我是这样写的:4 {/ t" s; { f/ U6 _
kanal:= DDEConnect("Excel", "Cost");) G8 D" W4 O9 I
DDEExecute(kanal,"Worksheets("Cost").Range("B129").Value = Worksheets("Cost").Range("G31").Value", 1000);5 n& p9 r/ _! H$ {
DDEExecute(kanal,"Worksheets("Cost").Range("B121").Value = 35", 1000);6 @: D; I7 _' ^& [ u3 J
DDEDisconnect(kanal);
. i [1 t: s$ u9 w3 p3 P系统一直报错,说语法有错。。。excecute 语句里的 cost那里有问题。。。。
1 K' l3 I( `$ ^& o
- Z5 P: i* {& ^2 j! @请高手们不吝赐教~~小妹先谢过了~~~~ |