Word Forms and names

D

David Harrison

Currently setting up a sort of complexed form (for me its complex any way)
and need a bit of help.

I have a drop down box with three options, The field is call
"repayment_type". The three Options are Capital repayment, Interest Only and
Part Capital and Part Interst.

This selcetion is not a problem, however, further in the document there are
two text boxes that need to appear if two of the options above are selected.
Is there any way that this can be done as when the form is locked i cant
delete the box for when i choose Capital Repayment.

Any suggestions more than welcome.

Thanks

David
 
D

Doug Robbins

If ActiveDocument.FormFields("repaymnet_type").Result = "Capital Repayment"
Then
ActiveDocument.Bookmarks("bookmarknameofthefieldthatyouwanttohide").Range.Font.Hidden
= True
Else
ActiveDocument.Bookmarks("bookmarknameofthefieldthatyouwanttohide").Range.Font.Hidden
= False
End If
--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top