Hi,

I am using requirements management tool to export a document in Ms word. Whenever I export the doc, table cells format gets disturbed. BA will be using this tool to export this document and manually setting this stuff is quite frustrating. Could we have a macro that will run to fix the formatting issue.

Using VBA Macros, how can I access each tables row and the number of cells it have? Furthermore, based on the number of cells in a particular row of a table I want to set its width in percentage.

For example, one row has two cells in it and I want to assign 30% width to the first cell and 70% to the second. Second row has four cells in it and i want to assign 25% of width to each one of the cells.

I hope I am able to explain what I want. Please let me know if I have to give you more details. Looking for your help.

Regards,
Usman