B
bryan
I have a form upon where I need to hide form fields and text if another field
is populated.
I have done this with paragraphs and works great, however in this form the
fields and text are inside tables so the paragraph does not work.
ie:
ID: <CLID>
In paragraph to hide both I code
With ActiveDocument
ActiveDocument.Unprotect
.FormFields("CLID").Range.Paragraphs(1).Range.Font.Hidden = True
ActiveDocument.Protect wdAllowOnlyFormFields, NoReset
in this new form where I use this it will only hide the formfield.
How can I hide a whole table?
Thanks,
Bryan
is populated.
I have done this with paragraphs and works great, however in this form the
fields and text are inside tables so the paragraph does not work.
ie:
ID: <CLID>
In paragraph to hide both I code
With ActiveDocument
ActiveDocument.Unprotect
.FormFields("CLID").Range.Paragraphs(1).Range.Font.Hidden = True
ActiveDocument.Protect wdAllowOnlyFormFields, NoReset
in this new form where I use this it will only hide the formfield.
How can I hide a whole table?
Thanks,
Bryan