Reputation: 10618
My problem is in two parts:
How can I, in Word 2007, put an id on a section so I can easy access this section from my code? For example, if I have Name
: Here I want to set the name from my C# code.
How can I, from my C# code, fill this section id ?
Upvotes: 2
Views: 577
Reputation: 29155
The best way is to use Content Controls in Word (and the Content Control Toolkit). There are tons of examples out there, like:
Upvotes: 2