print selection in outlook 2013

any simple way to print selection in outlook 2013? read from http://www.extendoffice.com/documents/outlook/1409-outlook-print-selection.html need to go through view browser etc.. is there a more simpler way or recommended tool to do so?
grnowAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

paarunCommented:
I'm afraid that is the only way to do it within Outlook. If you have Outlook Web App enabled, you probably can do it from the browser like you would do it for any website.
0
David LeeCommented:
Hi, grnow.

It's possible to print the selected text using a macro like the one below.  Follow these instructions to add the code to Outlook.

    1.  Start Outlook
    2.  Press ALT + F11 to open the Visual Basic Editor
    3.  If not already expanded, expand Microsoft Office Outlook Objects
    4.  If not already expanded, expand Modules
    5.  Select an existing module (e.g. Module1) by double-clicking on it or create a new module by right-clicking Modules and selecting Insert → Module.
    6.  Copy the code from the code snippet box and paste it into the right-hand pane of Outlook’s VB Editor window
    7.  Click the diskette icon on the toolbar to save the changes
    8.  Close the VB Editor

You might also want to add a button to the QAT (quick access toolbar) so you can run the macro with a single click.  Follow these instructions to do that.

With the macro in place, select the text you want to print and run the macro.  It will copy and paste the selected text into Word and then print the Word document.

Sub PrintSelection()
    Const wdPasteRTF = 1
    Dim olkDoc As Object, olkPar As Object, wrdApp As Object, wrdDoc As Object
    If TypeName(Application.ActiveWindow) = "Inspector" Then
        If Application.ActiveInspector.CurrentItem.Class = olMail Then
            Set olkDoc = Application.ActiveInspector.CurrentItem.GetInspector.WordEditor
            Set olkPar = olkDoc.Parent
            olkPar.Selection.Copy
            Set wrdApp = CreateObject("Word.Application")
            Set wrdDoc = wrdApp.Documents.Add
            wrdApp.Selection.PasteSpecial DataType:=wdPasteRTF
            wrdApp.PrintOut
            wrdDoc.Close False
            Set wrdDoc = Nothing
            Set wrdApp = Nothing
            Set olkPar = Nothing
            Set olkDoc = Nothing
        End If
    End If
End Sub

Open in new window

0
grnowAuthor Commented:
Hi, thanks for the info. if need to print the email header as well, can't be done with the above methods?
0
grnowAuthor Commented:
the workaround the user did is to edit the message and saved it as a file or print to pdf. the header will be able to get printed as well
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
grnowAuthor Commented:
editing the message can get the header to be printed.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.