How to hide columns in word document at runtime?

I have a table in the word document. The table has merge fields. I need to hide the column if there is not data for this column. How can I do this? Please help.

Hi
Thanks for your inquiry. Please see the following forum thread to learn how to remove column from the Word table.
https://forum.aspose.com/t/105322
Hope this helps.
Best regards.