我通过 RSS Feed 接收作业,我希望能够将 Feed 项转换为任务。
如何在 VBA 中获取 RSS 提要?我找不到“RSSItem”,但可以找到一个TaskItem。
我尝试通过以下方法获取 RSS 提要,但我无法将提要项的正文放入字符串中。它甚至不会让我找到字符串的长度。我在运行它时收到“无效的限定符”错误。
Sub ProcessRSS()
' Read RSS items and process the usful ones.
Dim objList As Object
Dim objItem As Object
Dim contents As String
Set objList = Application.ActiveExplorer.CurrentFolder.Items
contents = objList(1).Body
'Print Lenght of String
MsgBox (Str(contents.Lenght))
End Sub
如何将 RSS 提要项转换为 Outlook 2010 VBA 中的任务?