![]() |
sponsored links |
|
|
sponsored links
|
|
|
2
17th March 05:34
External User
Posts: 1
|
There is usually a property on the field that says something like
include this field for printing. Make sure it is unchecked. You can control how printing is done if you use Word and its Object Model to control when it is opened and when it is closed. You do not say which version of Outlook you are using, but since Ol2000, you have an Application-level events for Outlook start-up and shut-down within the VBA project. You can use them to start and close the Word application. Hollis D. Paul [MVP - Outlook] Hollis@outlookbythesound.com Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195 http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US Mukilteo, WA USA |
|
|
4
26th March 07:59
External User
Posts: 1
|
Pardon me for being blunt, but creating a custom form this way, on the
fly, is really dumb. It is the kind of thing one shows neophytes when giving easily interpretable exercises in how to code up a mail item using the OOM. However, it shouldn't be done in production. You should really create a custom form, which the data property defined in the custom form, then create the new mail item using the additem method of the Inbox, calling out the custom form name. You are then able to exclude the property from the print cycle. Hollis D. Paul [MVP - Outlook] Hollis@outlookbythesound.com Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195 http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US Mukilteo, WA USA |
|
|
5
26th March 07:59
External User
Posts: 1
|
The best way to solve this situation is to write the code as a Word
template. Word has a very flexible way of adding VBA code to a project, has start and stop events, and can create the Outlook application using the same code you have above. Hollis D. Paul [MVP - Outlook] Hollis@outlookbythesound.com Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195 http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US Mukilteo, WA USA |
|