![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hello coding guys,
I'm new to this but think is a easy deal: Create a macro to print the first page of an opened email message, using the following procedure. Application.ActiveWindow MailItem.PrintOut Pages:="1" Please bring me a solution for the "Compile error: Syntax error" received. Seasons greetings, |
#2
|
|||
|
|||
![]()
The error is coming up because there is no such command or set of arguments
in Outlook. You can only print an entire item. You'd have to export the text of the item into an application such as Word and use Word's printing methods to do what you want. Outlook has very primitive printing functionality. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Julio De Icaza" wrote in message ... Hello coding guys, I'm new to this but think is a easy deal: Create a macro to print the first page of an opened email message, using the following procedure. Application.ActiveWindow MailItem.PrintOut Pages:="1" Please bring me a solution for the "Compile error: Syntax error" received. Seasons greetings, |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
someone can help me to correct my syntax and my all Macro | פקודת מאקרו בערבית | Outlook and VBA | 1 | December 23rd 07 10:28 PM |
Error Message: Invalid DN Syntax | rhody | Outlook - Using Contacts | 1 | September 23rd 06 09:15 PM |
Invalid syntax error on some URL links in OE | Alan J Robertson | Outlook Express | 28 | April 1st 06 04:45 PM |
Invalid Syntax Error?? | F. Edwin Felty | Outlook Express | 5 | March 31st 06 05:02 PM |
e mails returned 501 syntax error in parameters.outlook please res | krisa and mike | Outlook - Installation | 1 | January 10th 06 06:49 PM |