View Single Post
  #2  
Old August 5th 06, 09:59 PM posted to microsoft.public.outlook.program_forms
Hollis Paul [MVP - Outlook]
external usenet poster
 
Posts: 138
Default Custom Outlook forms

In article ,
=?Utf-8?B?TmVlZHk=?= wrote:
How do I add a command button to my custom form so that I can basically
perform a print screen of the customer form? Is it a command button that I
need?

Yes, and then you need to create the event handler in the code page, which
will look something like

subroutine controlname_click()
...
Your code goes here
...
End sub

Go to outlookcode.com and find some printing examples. Nobody likes the
default Memo form, the wysiwyg printing option isn't all that better, but the
method that offers the greatest flexibility invokes a Word Template, transfers
the Outlook data to Word fields, and prints in the foreground. There is a
page on that site that explains all this.

--
Hollis Paul
Mukilteo, WA USA


Ads