有没有办法使用excel VBA通过Skype for Business发送消息? 我尝试添加SKYPE4COMLib并使用以下代码:
Sub skype()
Dim aSkype As SKYPE4COMLib.skype
Set aSkype = New SKYPE4COMLib.skype
Dim oChat As Chat
Dim skUser As SKYPE4COMLib.user
Set skUser = aSkype.user("user_name")
Set oChat = aSkype.CreateChatWith(skUser.Handle)
oChat.OpenWindow
oChat.SendMessage "automated message"
End Sub
但它不起作用:( 它甚至可能吗? 非常感谢你!