PDA

View Full Version : copying all mails except draft and sent items



ramserp
03-30-2010, 12:15 AM
Hi Friends,

I used the code available in this site to copy all the pst file local hard disk.

This code is available in this forum but I am unable give it here.

Add the following line to vbaexpress site address
/kb/getarticle.php?kb_id=875


The code is copying all the folders. I needs to be copied all the folders except Drafts and sent Items.

Please kindly tell the way how to omit sent and draft folders or modify the above code as per my requirement.

Highlight the modified code and send it to me.

Thanks & Regards
Ramesh

JP2112
04-23-2010, 09:33 AM
In the For loop, check Folder.Name to see if it matches "Drafts" or "Sent Items" and act accordingly.



Hi Friends,

I used the code available in this site to copy all the pst file local hard disk.

This code is available in this forum but I am unable give it here.

Add the following line to vbaexpress site address
/kb/getarticle.php?kb_id=875


The code is copying all the folders. I needs to be copied all the folders except Drafts and sent Items.

Please kindly tell the way how to omit sent and draft folders or modify the above code as per my requirement.

Highlight the modified code and send it to me.

Thanks & Regards
Ramesh