Problem with table visibility

I have a BOM table inserted on the drawing. The table is split in two pieces horizontally. When I try to hide the table using swtable.GetAnnotation.Visible = swAnnotationHidden only one section actually hides; the other is still quite visible. Can anybody make a suggestion as to what's going on?

SolidworksApi macros