In some rows of a table, a long text string in column 1 needs to continue over columns 2, 3, and 4, instead of wrapping. How would I either merge the cells or prevent the text from wrapping so that it continues over the subsequent columns? I have tried setting word_wrap
on the text frame as follows but it changes nothing:
table = shape.table
cell = table.rows[0].cells[1]
cell.text_frame.word_wrap = False
I have also tried setting text_frame.auto_size
to MSO_AUTO_SIZE.SHAPE_TO_FIT_TEXT
but that also changes nothing.