Nam Dau
Nam Dau

Reputation: 103

How to merge SharePoint List items into Word 2003 document

I want to build a feature like "Print List" on WSS 3.0, and I planned to convert List data into Word document then print it. Is there any way to merge List items into Word 2003 document, I Googled some solutions but they only work with Word 2007.

Upvotes: 2

Views: 1498

Answers (2)

trigras
trigras

Reputation: 515

How important requirement is to have "*.doc" file? If you just need to able to open document with Word 2003 you can just install Microsoft Office Compatibility Pack

Upvotes: 0

Alex Angas
Alex Angas

Reputation: 60027

You would need to write a custom solution that loops through the list items and generates WordML. This is the XML format for Word 2003. Here is a guide that can get you started.

Once the XML file has been generated you can offer it for download using standard ASP.NET methods. Here is an example that should work. Alternatively you could store the result in a document library and point users to download it from there.

Upvotes: 1

Related Questions