BOM cell value disappears during EditRebuild3

Hello!

I`m using the TableAnnotation::set_Text to insert a string on a BOM Cell.

Then use the TableAnnotation::MergeCells to merge certain cells on the top of the BOM so it should look like a header.

I noticed that if the string is not inserted on the 1st cell, then merged it to the other cells with the same row, the string disappears during ModelDoc2::EditRebuild3.

Example:

Aside from not using the EditRebuild3 funciton, is there a way to prevent this from happening?

Thanks in advance.

Best Regards,

J.Torres

SolidworksApi macros