> 1#: That happens if you use Word as email editor. Easiest approach is indeed
> to minimize the Inspector. You can do that by code by calling
[quoted text clipped - 109 lines]
> >>>>>
> >>>>> Thanks.
Replace the existing ...Printout line by the new lines, please.

Signature
Best regards
Michael Bauer - MVP Outlook
Use Outlook Categories? This is Your Tool:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>
Am Wed, 12 Mar 2008 02:06:02 -0700 schrieb Stampie:
> Do I just add the codes below onto the bottom of the code you gave me before
> or do I create a new one?
[quoted text clipped - 12 lines]
>> Item.PrintOut
>> Endif
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>
>> Am Tue, 11 Mar 2008 04:47:02 -0700 schrieb Stampie:
>>
[quoted text clipped - 43 lines]
>>>>
>>>> Edit the code as suggested, click Save, and restart Outlook.
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>
>>>> Am Tue, 11 Mar 2008 02:53:02 -0700 schrieb Stampie:
>>>>
[quoted text clipped - 11 lines]
>>>> received
>>>>>> emails and can easily be adpated:
http://www.vboffice.net/sample.html?mnu=2&pub=6&smp=48&cmd=showitem&lang=en
>>>>>> Replace:
>>>>>>
[quoted text clipped - 12 lines]
>>>>>>
>>>>>> if MsgBox("Print?",vbYesNo or vbQuestion)=vbYes Then
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>
>>>>>> Am Mon, 10 Mar 2008 09:57:01 -0700 schrieb Stampie:
>>>>>>
[quoted text clipped - 10 lines]
>>>>>>>
>>>>>>> Thanks.
Stampie - 13 Mar 2008 11:17 GMT
Sorry i'm really not very good at this at all :(
Below is the currently edited code (without the new lines in) can you show
me where to place he new lines as i've tried the lines Mail.PrintOut and
PrintNewItem Item without success.
_____________________________________________
Private WithEvents Items As Outlook.Items
_____________________________________________
Private Sub Application_Startup()
Dim Ns As Outlook.NameSpace
Set Ns = Application.GetNamespace("MAPI")
Set Items = Ns.GetDefaultFolder(olFolderInbox).Items
End Sub
_____________________________________________
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
If TypeOf Item Is Outlook.MailItem Then
PrintNewItem Item
End If
End Sub
_____________________________________________
Private Sub PrintNewItem(Mail As Outlook.MailItem)
On Error Resume Next
If MsgBox("Print?", vbYesNo Or vbQuestion) = vbYes Then
Mail.PrintOut
End If
End Sub
____________________________________________
> Replace the existing ...Printout line by the new lines, please.
Michael Bauer [MVP - Outlook] - 13 Mar 2008 11:49 GMT
Sure, replace this
> Mail.PrintOut
by this:
If not Mail.GetInspector.Wordeditor is Nothing Then
Mail.GetInspector.WordEditor.PrintOut
Else
Mail.PrintOut
Endif
(There was a typo, it doesn't read 'item' but 'mail').

Signature
Best regards
Michael Bauer - MVP Outlook
Use Outlook Categories? This is Your Tool:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>
Am Thu, 13 Mar 2008 03:17:01 -0700 schrieb Stampie:
> Sorry i'm really not very good at this at all :(
>
[quoted text clipped - 29 lines]
>
>> Replace the existing ...Printout line by the new lines, please.
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>
Stampie - 13 Mar 2008 12:15 GMT
So the full code should look like this...?
_____________________________________________
Private WithEvents Items As Outlook.Items
_____________________________________________
Private Sub Application_Startup()
Dim Ns As Outlook.NameSpace
Set Ns = Application.GetNamespace("MAPI")
Set Items = Ns.GetDefaultFolder(olFolderInbox).Items
End Sub
_____________________________________________
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
If TypeOf Item Is Outlook.MailItem Then
PrintNewItem Item
End If
End Sub
_____________________________________________
Private Sub PrintNewItem(Mail As Outlook.MailItem)
On Error Resume Next
If MsgBox("Print?", vbYesNo Or vbQuestion) = vbYes Then
If not Mail.GetInspector.Wordeditor is Nothing Then
Mail.GetInspector.WordEditor.PrintOut
Else
Mail.PrintOut
End if
End If
End Sub
____________________________________________
Using the above code, the lines of random text has disappeared from the
printed email, the To, Cc, Subject, etc fields are missing and the print
prompt still hides behind the email.
Are there any other options or should I admit defeat and install Office 2007?
> Sure, replace this
>
[quoted text clipped - 45 lines]
> >>
> <http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>
Michael Bauer [MVP - Outlook] - 13 Mar 2008 15:50 GMT
As I told you that was just a test if the weird RTF lines disappear; for
getting the prompt on top it's still the easiest to minimize the email
editor.

Signature
Best regards
Michael Bauer - MVP Outlook
Use Outlook Categories? This is Your Tool:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>
Am Thu, 13 Mar 2008 04:15:01 -0700 schrieb Stampie:
> So the full code should look like this...?
>
[quoted text clipped - 46 lines]
>>
>> (There was a typo, it doesn't read 'item' but 'mail').
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>
>> Am Thu, 13 Mar 2008 03:17:01 -0700 schrieb Stampie:
>>
[quoted text clipped - 31 lines]
>>>
>>>> Replace the existing ...Printout line by the new lines, please.
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>