Hiding text in Word (in particular tables)
I am working on a document that contains several hidden sections that can be made visible using checkboxes (and VBA). Most of them work great, including hiding tables, images, formatting and text using Range.Font.Hidden = True.
My problem is hiding the table, saving the document and reopening the document.
The document saves and closes fine, but when the document is reopened, the text for the table remains hidden, but the gridlines and table spacing are displayed, giving the appearance of a strange but empty table.
Does anyone know how to avoid this problem or have any advice?
After trying a few different things, and while I have other sections that contain tables that work fine, I ended up converting the tables back to text, which makes them work fine.
It's a shame that I can't find the problem, but the information works fine just like plain text.