Thread: [Solved] linking to excel from word
View Single Post
 
Old 06-08-2012, 01:12 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

So which do you prefer to do - push from Excel, or pull from Word? Pushing data into headers etc is not at all difficult.

Rather than populating content controls directly, you might do better to use custom document properties, and update those with the Excel data. You can then use DOCPROPERTY fields wherever you want in the document to replicate that data. It also means that moving the output's location, duplicating it or even deleting it won't compromise your code.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote