我有要转换为Python的VBA代码。我是DDE的新手,但是我需要一个项目。它可以在VBA中运行,但是我需要Python的一些其他功能,因此最好使用相同的语言来全部使用它。
我尝试了其中一些示例,但我并不真正理解它们。 https://gist.github.com/noisywiz/2661065
'这是在Excel VBA中对我有用的代码
Sub DDE_Write_RSLinx()
DDEChannel = Application.DDEInitiate(app:="RSLinx", topic:="CTLGX")
DDEItem = "DblIntArray1[1,0],L10,C10"
Set RangeToPoke = Worksheets("Sheet1").Range("A2:J2")
Set RangeToPoke = ActiveCell
Application.DDEPoke DDEChannel, DDEItem, RangeToPoke
Application.DDETerminate DDEChannel
End Sub
任何了解此DDE和Python的人