How to Print Email without the Default Fields

How to Print Email without the Default Fields

 This topic is a how to.
Please keep it as clear and simple as possible. Avoid speculative discussions as well as a deep dive into underlying mechanisms or related technologies.

Email message when printed from Outlook always contain fields:

•    From
•    Sent
•    To
•    CC
•    Subject
•    Attachments

Additionally the attachment icons resembling the type of the file are also on the printout. MS Outlook unfortunately does not have a setting allowing to choose which of those fields are printed or not.

The macro below prints the email without chosen fields and the attachment information. Unfortunately fields From and Sent are always printed.

To remove fields of your choice simply delete the corresponding part of the code below.

Sub PrintWithoutHeaders()   
Dim oMail
For Each oMail In Application.ActiveExplorer.Selection
oMail.Copy()
' Remove TO
oMail.To = ""
' Remove CC
oMail.CC = ""
' Remove SUBJECT
oMail.Subject = ""
' Remove ATTACHMENTS
For nIndex = oMail.Attachments.Count To 1
oMail.Attachments.Remove(nIndex)
Next
oMail.PrintOut()
oMail.Delete()
Next
End Sub


(c) Shon Oskar 
© All rights reserved. No part or whole of this article may not be reproduced or published without prior permission.
Original article was published but its link no longer works
Leave a Comment
  • Please add 1 and 7 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Comments
  • Richard Mueller edited Revision 1. Comment: Remove (en-US) from title, add language tag, added other tags

  • Richard Mueller edited Revision 2. Comment: Modified title casing

  • Naomi  N edited Revision 3. Comment: Typos

  • Naomi  N edited Revision 4. Comment: Link to the published article produces an error now

  • Luigi Bruno edited Original. Comment: Added the "How to" Wiki template.

Page 1 of 1 (5 items)
Wikis - Comment List
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Richard Mueller edited Revision 1. Comment: Remove (en-US) from title, add language tag, added other tags

  • Richard Mueller edited Revision 2. Comment: Modified title casing

  • Naomi  N edited Revision 3. Comment: Typos

  • Naomi  N edited Revision 4. Comment: Link to the published article produces an error now

  • Why don't adding this page in the Development Portal?

  • I'm New in town ;] just started.

    Write me a link, I'll look around to do it.

  • Luigi Bruno edited Original. Comment: Added the "How to" Wiki template.

Page 1 of 1 (7 items)