VBA examples and instructions
The Microsoft Developer's Network has a pretty comprehensive article on programmatically working with data and Word tables.
"You can look at the world as split into applications that store data (databases) and applications that present information, such as Microsoft Office Word 2003 and Microsoft Office PowerPoint 2003. Increasingly, the end user demands to display database content in documents and presentations.
While Word does provide some tools for displaying tables from databases in its documents, these are somewhat rudimentary, they require a basic understanding of how the database is built, and using them involves a number of steps. In addition, there may also be security and access issues involved, requiring additional layers of protection.
The developer is therefore increasingly confronted with the task of transferring data into Word, whether in the form of tables, or as part of the document text. This article considers some of the major aspects of using the Word object model to work with tables."
- Introduction to Automating Tables
- Creating Tables Programmatically in Word
- Populating Word Tables with Data
- Adding Linking in Word Tables Programmatically
- Extracting Data from Word Tables Programmatically
See all Topics