将 RSS 源项目转换为 Outlook 中的任务
可能的重复:
使用 Outlook VBA 宏处理 RSS 源
我收到作业通过 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 中的任务?
Possible Duplicate:
Processing an RSS Feed using Outlook VBA Macro
I receive my homework through RSS Feed and I want to be able to convert feed items to tasks.
How do I get the RSS feed in VBA? I cannot find an "RSSItem", but I can find a TaskItem.
I've tried getting the RSS feed through the method below but I cant put the body of the feed item into a string. It won't even let me find the length of the string. I receive an "Invalid Qualifier" error when I run it.
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
How can I convert an RSS feed item to a task in Outlook 2010 VBA?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定您的总体问题,但这修复了您上面的代码:
I'm not sure about your overall question, but this fixes your code above: