It is not clear what exactly you are trying to achieve so it might help if you provide larger chunks of your code so we can see what else is going on. Or maybe a sample doc with tables of varying sizes to test your code on.
Bookmarks tend to be fiddly and if you are adding to the start/end of a bookmark it is possible that content you think is in or out may actually not be. I would recommend you explore using Rich Text Content Controls to 'tag' your ranges and you may find this works better for your hide/show code.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|