View Full Version : Auto save attachment from selected mail folder
Shanmugam
04-13-2009, 09:00 AM
I have couple of e-mails from different persons having attachment.
i am moving all the e-mails into mail folders by person wise. i have a script which auto saves all the attachment. But i need a script to save all the attachment from a selected mail folder. is this possible?
Thanks,
Shanmugam
eddyp
11-20-2009, 04:50 AM
look for user Killian on this site for topic:
Automatically save and print attachments.
(www+) vbaexpress.com/kb/getarticle.php?kb_id=522
see also my topit on this with the code but i cant get this working.
have fun, eduard
Charlize
11-20-2009, 06:45 AM
This article : http://www.vbaexpress.com/kb/getarticle.php?kb_id=953 is something I wrote with a lot of help and idea's from Oorang. mFldr is the variable that determines which folder is used for stripping the attachment. You could alter this easily by using a pickingfolder routine.
Example :
Set mFldr = Application.GetNamespace("MAPI").PickFolder
'check if folder has been chosen
If Not mFldr Is Nothing Then
Charlize
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.