Consulting

Results 1 to 2 of 2

Thread: automatically print emails from outlook

  1. #1

    automatically print emails from outlook

    Is there some code that but allow a user to automatically print an email when they double click the message to open it



    Thanks

  2. #2
    VBAX Newbie
    Joined
    Mar 2008
    Posts
    2
    Location

    Red face A Macro to print a selection of an email

    Hi there. I have been trying for a while now to find out how to create a custom macro so that I can simply click a button on my toolbar and print selected text within an email. (i.e. I open my email and rathan than printing the whole conversation, I highlight the part of the email which I am interested in keeping and select print, print selection, ok).

    I am using Microsoft Office Outlook 2003 on XP OS and it doesn't allow me to record a macro. I tried recording a macro in word and then copying it to the VB module in Outlook but it didn't run. Also tried recording a macro in Excel and doing the same thing but that didn't work.

    This is what it looked like

    Sub Selprint()
    Selection.PrintOut Copies:=1, Collate:=True
    End Sub

    With the above I receive a dialog box stating runtime error '424', Object required. Can someone please help me or aleast tell me whether it can be done or not so I don't waste anymore time.

    Thanks in advance.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •