Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / April 2006

Tip: Looking for answers? Try searching our database.

SaveAsFile - save as subject line instead of DisplayName

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
iamjbunni - 28 Apr 2006 22:25 GMT
I am trying to save attachments using the SaveAsFile macro and I would like
it to save the file as the subject line instead of the DisplayName.  Is there
a way I could do this?

Also, how can I modify my macro to print and save multiple attachments at
the same time?
Michael Bauer - 30 Apr 2006 08:54 GMT
Am Fri, 28 Apr 2006 14:25:02 -0700 schrieb iamjbunni:

1) Simply call the SaveAs method with the Subject instead of the FileName

2) Loop through the Attachments collection instead of handling only with the
first one.

Signature

Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
 -- www.vbOffice.net --

> I am trying to save attachments using the SaveAsFile macro and I would like
> it to save the file as the subject line instead of the DisplayName.  Is there
> a way I could do this?
>
> Also, how can I modify my macro to print and save multiple attachments at
> the same time?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.