In my testing, the visibility settings have no effect on how the code works. That suggests there's either some corruption in your document or a fault in your Word installation.
Corrupt documents can often be 'repaired' by inserting a new, empty, paragraph at the very end, copying everything except that new paragraph to a new document based on the same template, closing the old document and saving the new one over it. Similarly, corrupt tables can often be 'repaired' by converting the tables to text and back again or by saving the document in RTF format, closing the document then re-opening it and re-saving in the doc(x) format.
A faulty Office installation can usually be repaired via Programs & Features > Microsoft Office > Change in the Windows Control Panel.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|