save certain emails from inbox to network drive with a macro

  • Thread starter Thread starter Herb Segal
  • Start date Start date
H

Herb Segal

Is there a way to create a macro that, when run, will save an email from my
inbox to a folder on our network? I also thought a macro would not only save
to a network folder but also delete from my inbox. Not every email in my
inbox but only the ones I want to save.

I use drag and drop now but thought the macro might make it a little easier.
When I'm in MS outlook I can't always see my desktop so drag and drop if
difficult. I'm constantly closing or minimizing programs so I can see the
folder I want to drag to.

I gather there is no record function in ms outlook like you find in excel.
 
Outlook has no macro recorder. You write macros in Outlook using VBA code
that you have to write from scratch.

You can select items in a folder, get the Selection collection for that
window (Explorer) and iterate the Selection. For each selected MailItem you
can use the SaveAs() method to save the items and then delete the item using
a count down loop.

You might want to search for code similar to what you want to get you
started at www.outlookcode.com
 
Thank you very much.

Ken Slovak - said:
Outlook has no macro recorder. You write macros in Outlook using VBA code
that you have to write from scratch.

You can select items in a folder, get the Selection collection for that
window (Explorer) and iterate the Selection. For each selected MailItem
you can use the SaveAs() method to save the items and then delete the item
using a count down loop.

You might want to search for code similar to what you want to get you
started at www.outlookcode.com
 
Back
Top