View Single Post
  #1  
Old December 27th 07, 05:19 PM posted to microsoft.public.outlook.program_vba
Julio De Icaza
external usenet poster
 
Posts: 1
Default Syntax error in a print-1st-page macro

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,
Ads