What about using an RTF file? They play well with Word and are text based, so you can manipulate them quite easily. Just create the RTF template with placeholders where you want the dynamic data then use CF to find and replace the placeholders with the live data.
Terry >> Hey guys, > >Lots - Word is AMAZINGLY accessible. You can use the COM interface to do >just about anything. A huge amount of "how-to" information is here: > >http://msdn2.microsoft.com/en-us/library/kw65a0we(VS.80).aspx > >Pretty much anything you can't do directly from CF with those interfaces you >should be able to do with Visual Basic for Applications scripts (you can >also do most of this ). > >My suggestion would be to create your template as a Word Form (using >predefined form fields). It should be easier to access named form fields >programmatically than to insert blocks of text (although you can do the >latter as well). > >It usually means installing Word on your server (something a lot of security >experts would warn against) which, of course, means a Windows server. In >this you're going to be at a disadvantage if you're on Unix but even then I >think there's options. > >Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289918 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

