Dim oSkype As SKYPE4COMLib.skype
Dim oChat As SKYPE4COMLib.ChatMessage
Set oSkype = New SKYPE4COMLib.skype
Set oChat = New SKYPE4COMLib.ChatMessage
For Each oChat In oSkype.Messages
If oChat.Status = 2 Then '2=未读信息,3=已读信息
Debug.Print oChat.Timestamp & " / " & oChat.ChatName & " / " & oChat.Body & " / " & oChat.IsEditable
End If
Next
Set oSkype = Nothing
Set oChat = Nothing