![]() |
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
|
|||
|
|||
![]()
Hi All,
Sorry but a relative newbie when it comes to Outlook programming. Currently using Office 2007. From Access I create an appointment - A Delivery or Collection Docket - in Outlook using Automation. The docket (body of the appointment) contains information such as customer and delivery addresses, contact details including phone number, equipment to be delivered/collected, any special instructions and space for driver and customer signatures. The appointments/dockets are subsequently tracked by the van driver manager and printed using the default memo style by our van drivers. This all works fine, however, everything is in plain text format and looks fairly ordinary. I would like to use fonts, tables and formatting to improve the printed result, and reduce the size of the overall output. Can you help? Should I be using a custom outlook form or report? If so I would I use automation from outlook to populate it? Your assistance appreciated Guy |
Ads |
#2
|
|||
|
|||
![]()
The main question is why is are these Appointment items using the Plain Text
format? Are they being sent over the Internet (rather than Exchange) and are being converted from HTML to Plain Text because of your Outlook settings? Are you setting the Inspector.EditorType property to anything other than olEditorWord (4) when you create the Appointment in Access? If you want to change the formatting of message body text, you need to use the Word Object Model with Outlook 2007. You can get a WordDocument object from the Inspector.WordEditor property. -- Eric Legault [MVP - Outlook] MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007 & WSS 3.0 Application Development) Collaborative Innovations NEW! - Try Picture Attachments Wizard 2.0 For Microsoft Outlook - Web: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault "Guy" wrote in message ... Hi All, Sorry but a relative newbie when it comes to Outlook programming. Currently using Office 2007. From Access I create an appointment - A Delivery or Collection Docket - in Outlook using Automation. The docket (body of the appointment) contains information such as customer and delivery addresses, contact details including phone number, equipment to be delivered/collected, any special instructions and space for driver and customer signatures. The appointments/dockets are subsequently tracked by the van driver manager and printed using the default memo style by our van drivers. This all works fine, however, everything is in plain text format and looks fairly ordinary. I would like to use fonts, tables and formatting to improve the printed result, and reduce the size of the overall output. Can you help? Should I be using a custom outlook form or report? If so I would I use automation from outlook to populate it? Your assistance appreciated Guy |
#3
|
|||
|
|||
![]()
G'day Eric,
Thank you for your response. The appointments are stored in a public exchange calendar. I wasn't aware that HTML was available with appointment items. I did try to set .bodyformat to HTML but it failed. I also wasn't aware that I could use the word object model with outlook to format and create text. I assume this means I could create a formatted document with fields as place holders and then just populate the fields from access and set the outlook body appropriately (or some similar mechanism). Will investigate further. Your assistance appreciated. Guy " wrote: The main question is why is are these Appointment items using the Plain Text format? Are they being sent over the Internet (rather than Exchange) and are being converted from HTML to Plain Text because of your Outlook settings? Are you setting the Inspector.EditorType property to anything other than olEditorWord (4) when you create the Appointment in Access? If you want to change the formatting of message body text, you need to use the Word Object Model with Outlook 2007. You can get a WordDocument object from the Inspector.WordEditor property. -- Eric Legault [MVP - Outlook] MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007 & WSS 3.0 Application Development) Collaborative Innovations NEW! - Try Picture Attachments Wizard 2.0 For Microsoft Outlook - Web: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault "Guy" wrote in message ... Hi All, Sorry but a relative newbie when it comes to Outlook programming. Currently using Office 2007. From Access I create an appointment - A Delivery or Collection Docket - in Outlook using Automation. The docket (body of the appointment) contains information such as customer and delivery addresses, contact details including phone number, equipment to be delivered/collected, any special instructions and space for driver and customer signatures. The appointments/dockets are subsequently tracked by the van driver manager and printed using the default memo style by our van drivers. This all works fine, however, everything is in plain text format and looks fairly ordinary. I would like to use fonts, tables and formatting to improve the printed result, and reduce the size of the overall output. Can you help? Should I be using a custom outlook form or report? If so I would I use automation from outlook to populate it? Your assistance appreciated Guy |
#4
|
|||
|
|||
![]()
The bodies of appointments are always rich-text, not HTML or even plain text. If you set the Body property, the content will appear in the font that the user has set as their default for messages.
As Eric indicated, if you want a formatted appointment body, you can use Inspector.WordEditor to return a Word.Document object, on which you can then use Word methods to manipulate the content. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Guy" wrote in message ... G'day Eric, Thank you for your response. The appointments are stored in a public exchange calendar. I wasn't aware that HTML was available with appointment items. I did try to set ..bodyformat to HTML but it failed. I also wasn't aware that I could use the word object model with outlook to format and create text. I assume this means I could create a formatted document with fields as place holders and then just populate the fields from access and set the outlook body appropriately (or some similar mechanism). Will investigate further. Your assistance appreciated. Guy " wrote: The main question is why is are these Appointment items using the Plain Text format? Are they being sent over the Internet (rather than Exchange) and are being converted from HTML to Plain Text because of your Outlook settings? Are you setting the Inspector.EditorType property to anything other than olEditorWord (4) when you create the Appointment in Access? If you want to change the formatting of message body text, you need to use the Word Object Model with Outlook 2007. You can get a WordDocument object from the Inspector.WordEditor property. "Guy" wrote in message ... Hi All, Sorry but a relative newbie when it comes to Outlook programming. Currently using Office 2007. From Access I create an appointment - A Delivery or Collection Docket - in Outlook using Automation. The docket (body of the appointment) contains information such as customer and delivery addresses, contact details including phone number, equipment to be delivered/collected, any special instructions and space for driver and customer signatures. The appointments/dockets are subsequently tracked by the van driver manager and printed using the default memo style by our van drivers. This all works fine, however, everything is in plain text format and looks fairly ordinary. I would like to use fonts, tables and formatting to improve the printed result, and reduce the size of the overall output. Can you help? Should I be using a custom outlook form or report? If so I would I use automation from outlook to populate it? Your assistance appreciated Guy |
#5
|
|||
|
|||
![]()
Thanks Sue,
Working on this as we speak. Guy "Sue Mosher [MVP-Outlook]" wrote: The bodies of appointments are always rich-text, not HTML or even plain text. If you set the Body property, the content will appear in the font that the user has set as their default for messages. As Eric indicated, if you want a formatted appointment body, you can use Inspector.WordEditor to return a Word.Document object, on which you can then use Word methods to manipulate the content. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Guy" wrote in message ... G'day Eric, Thank you for your response. The appointments are stored in a public exchange calendar. I wasn't aware that HTML was available with appointment items. I did try to set ..bodyformat to HTML but it failed. I also wasn't aware that I could use the word object model with outlook to format and create text. I assume this means I could create a formatted document with fields as place holders and then just populate the fields from access and set the outlook body appropriately (or some similar mechanism). Will investigate further. Your assistance appreciated. Guy " wrote: The main question is why is are these Appointment items using the Plain Text format? Are they being sent over the Internet (rather than Exchange) and are being converted from HTML to Plain Text because of your Outlook settings? Are you setting the Inspector.EditorType property to anything other than olEditorWord (4) when you create the Appointment in Access? If you want to change the formatting of message body text, you need to use the Word Object Model with Outlook 2007. You can get a WordDocument object from the Inspector.WordEditor property. "Guy" wrote in message ... Hi All, Sorry but a relative newbie when it comes to Outlook programming. Currently using Office 2007. From Access I create an appointment - A Delivery or Collection Docket - in Outlook using Automation. The docket (body of the appointment) contains information such as customer and delivery addresses, contact details including phone number, equipment to be delivered/collected, any special instructions and space for driver and customer signatures. The appointments/dockets are subsequently tracked by the van driver manager and printed using the default memo style by our van drivers. This all works fine, however, everything is in plain text format and looks fairly ordinary. I would like to use fonts, tables and formatting to improve the printed result, and reduce the size of the overall output. Can you help? Should I be using a custom outlook form or report? If so I would I use automation from outlook to populate it? Your assistance appreciated Guy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Access Email Automation | Emma Hope | Outlook and VBA | 5 | April 28th 08 06:54 PM |
Access Automation | Bob Barnes | Outlook and VBA | 3 | March 9th 08 10:54 PM |
Outlook Automation Contact Photo Access | Alexander | Add-ins for Outlook | 7 | October 11th 07 06:48 PM |
Outlook Automation Automation Problem Out of Memory | MikeA[_2_] | Outlook and VBA | 7 | July 30th 07 02:31 PM |
outlook 2007 automation from Access | phleduc | Outlook - General Queries | 6 | June 25th 07 08:48 PM |