为什么VBA运行时错误13开始DDE对话时键入不匹配

时间:2019-04-26 13:01:03

标签: excel vba dde

我有此代码:

Public channel As Long

Sub Button1_Click()
  MsgBox "all is OK"

  ' Application.ActiveCell.Font.Bold = True
  channel = Application.DDEInitiate("Excel", "System")

  MsgBox "Conversation started"

End Sub

为什么DDEInitiate表达式给出错误13?

0 个答案:

没有答案