允许用户选择要搜索的Outlook文件夹 [英] Allow user to select Outlook folder to search

查看:95
本文介绍了允许用户选择要搜索的Outlook文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我正在开发一个从outlook中检索附件的项目,然后将所述附件的内容导入excel。 为了使代码更健壮,我认为允许他们选择要搜索的文件夹,以便将电子邮件
存储到不同的文件夹中会很好。关于如何做到这一点的任何想法?



谢谢,


Chris

解决方案

请参阅下面的回复,其中有一个链接,描述了Outlook的版本如何为电子邮件提供不同的位置,这与不同版本的Windows相结合。


https://social.msdn.microsoft.com/Forums/en-US/c724e4b3-dbf1-41b8-9bec-dc3a8bddd907/location-of-outlook-pst-and-ost-files?forum=vbgeneral


So I am working on a project to retrieve attachments from outlook, then import the contents of said attachment into excel.  To make the code more robust, I thought it would be good to allow them to select the folder to search incase they store the emails into a different folder. Any ideas on how to do this?

Thank you,

Chris

解决方案

See my reply below which has a link describing how versions of Outlook can have different locations for emails and this is coupled with different versions of windows.

https://social.msdn.microsoft.com/Forums/en-US/c724e4b3-dbf1-41b8-9bec-dc3a8bddd907/location-of-outlook-pst-and-ost-files?forum=vbgeneral


这篇关于允许用户选择要搜索的Outlook文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆