View Single Post
 
Old 03-13-2017, 05:15 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

For the form-creation basics, see: https://support.office.com/en-us/art...B-AC44937E3A9F

Since you're working with Office 2007, I'd suggest using content controls, as described in that article.

Your requirements are far more involved than that basic introduction covers. Assuming you want to choose the State from a dropdown list and, depending on the State selected, choose a city from another dropdown list of the cities for that State, you'll need to implement a dependent dropdown. This requires some VBA programming. For a document with such a setup, for which the core programming has already been done for you, see:
https://www.msofficeforums.com/word-...html#post77762

For the contract number and hotel name, you'll need to implement a dependent text content control. This too requires some VBA programming. For a document with such a setup, for which the core programming has already been done for you, see:
https://www.msofficeforums.com/word-...html#post46903

From there, it's a fairly straightforward matter to replicate any of these details throughout the document. One method would be to bookmark each of the initial content controls and simply insert cross-references to those bookmarks wherever you need them. The code that handles the content control dependencies can likewise handle the cross-reference updating.

Doubtless you'll have more questions. Feel free to post back.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote