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
|
|||
|
|||
printing attachment name in Word
I'm using the export-to-Word solution to printing Outlook forms in version
2003. Is there a way to see the attachments listed in the Word template? The text in the Message (or Body) field comes across fine but just shows a gap where the attachments are - confusing for users who are used to seeing everything on the printout. Thanks. |
Ads |
#2
|
|||
|
|||
printing attachment name in Word
You could write code to iterate the Attachments collection, put all the names in a list, then insert that information into your Word document at a bookmark you've set up for that purpose, just as you would the Body property, something like:
strAtts = "" For Each att in Item.Attachments strAtts = strAtts & att.DisplayName & vbCrLf Next objDoc.Bookmarks("Attachment_List").Range.InsertAf ter strAtts -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Martin" wrote in message ... I'm using the export-to-Word solution to printing Outlook forms in version 2003. Is there a way to see the attachments listed in the Word template? The text in the Message (or Body) field comes across fine but just shows a gap where the attachments are - confusing for users who are used to seeing everything on the printout. Thanks. |
#3
|
|||
|
|||
printing attachment name in Word
Thanks very much Sue - works like a dream...
"Sue Mosher [MVP-Outlook]" wrote: You could write code to iterate the Attachments collection, put all the names in a list, then insert that information into your Word document at a bookmark you've set up for that purpose, just as you would the Body property, something like: strAtts = "" For Each att in Item.Attachments strAtts = strAtts & att.DisplayName & vbCrLf Next objDoc.Bookmarks("Attachment_List").Range.InsertAf ter strAtts -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Martin" wrote in message ... I'm using the export-to-Word solution to printing Outlook forms in version 2003. Is there a way to see the attachments listed in the Word template? The text in the Message (or Body) field comes across fine but just shows a gap where the attachments are - confusing for users who are used to seeing everything on the printout. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem Printing Customized Outlook Form using Word Template | ajkim001 | Outlook - Using Forms | 15 | April 28th 06 05:28 PM |
Outlook 2003 Attachment Printing Last | Mcspec | Outlook - General Queries | 1 | March 7th 06 07:39 AM |
Word error when printing Outlook form | Martin | Outlook - Using Forms | 0 | March 1st 06 01:04 PM |
Default Word Attachment Opening View | Marc Seidler | Outlook - General Queries | 1 | January 26th 06 05:30 AM |
Word as editor | [email protected] | Outlook - General Queries | 0 | January 19th 06 05:25 PM |