Save .gif clipart in Outlook

G

GEE

I receive .gif clipart animations from various groups but cannot save them as animations. My only option when I right click to save is .bmp. Can someone please advise what I need to change to save animations from my Outlook?
 
N

neo [mvp outlook]

Assuming that you are running Outlook 2000 or newer, you could create a
macro that saves out the attachment(s). Here is an example to get you
started.

Sub SaveAttachment()
Dim objCurrentItem As Outlook.MailItem
Dim colAttachments As Outlook.Attachments
Dim objAttachment As Outlook.Attachment

Set objCurrentItem = Application.ActiveInspector.CurrentItem
Set colAttachments = objCurrentItem.Attachments

For Each objAttachment In colAttachments
objAttachment.SaveAsFile ("C:\" & objAttachment.FileName)
Next

Set objAttachment = Nothing
Set colAttachments = Nothing
objCurrentItem.Close (olDiscard)
Set objCurrentItem = Nothing

End Sub


--
Neo [MVP Outlook]
Due to the Swen virus, all e-mails sent to this account will be deleted
w/out reading.


GEE said:
I receive .gif clipart animations from various groups but cannot save them
as animations. My only option when I right click to save is .bmp. Can
someone please advise what I need to change to save animations from my
Outlook?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top