D
d. williams
hello, i figured this would qualify as newbie material. i have two quesitons regarding a template i set up which uses forms.
1. i would like to have the user set their name into a text field and then have what they typed copied into the header of the document. i wrote a basic script that copies the value into another text field, however, i can't insert any fields into the header.
2. one of the items is a drop-down box from which the user selects several options. i would like a paragraph beneath the box to change based on the user's selection. i was wondering what is the most common way to do this. i have a working solution by placing a second field beneath the drop-down for the paragraph. a script runs at the exit from the drop-down which sets the paragraph field's text. while this has the benefit of allowing the user to change the paragraph if absolutely necessary, i don't like having the actual text stored only in the macro code. is there a way to toggle the visibility of a field (ie user selects choice 2, so only paragraph 2 shows and all other disappear)? is there just a better way to do this?
3. is there a general vba for word api out there? i tried running some searches, but nothing terribly helpful came up.
thanks for any help. d.
1. i would like to have the user set their name into a text field and then have what they typed copied into the header of the document. i wrote a basic script that copies the value into another text field, however, i can't insert any fields into the header.
2. one of the items is a drop-down box from which the user selects several options. i would like a paragraph beneath the box to change based on the user's selection. i was wondering what is the most common way to do this. i have a working solution by placing a second field beneath the drop-down for the paragraph. a script runs at the exit from the drop-down which sets the paragraph field's text. while this has the benefit of allowing the user to change the paragraph if absolutely necessary, i don't like having the actual text stored only in the macro code. is there a way to toggle the visibility of a field (ie user selects choice 2, so only paragraph 2 shows and all other disappear)? is there just a better way to do this?
3. is there a general vba for word api out there? i tried running some searches, but nothing terribly helpful came up.
thanks for any help. d.