Hi,
I have a macro that fills a table (in Word XP) with some data. The table is
created manually before the execution of the macro, and I access it with :
Set objTable = ActiveDocument.Tables(1)
It works perfectly, but for some cells, the text is too long to fit in, and
it is automatically word-wrapped in two lines. As my cells's height is for
one line of text, I can't read some characters.
My question : is it possible to detect if the text of a cell is too long for
it (or if it is word-wrapped) ? My idea is to reduce font size for theses
cells.
Thanks
Ludovic Balogh
Helmut Weber - 07 Nov 2007 10:16 GMT
Hi Ludo,
see above the thread
"How do I tell if text fits into a fixed-width table cell"

Signature
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
Ludo - 21 Nov 2007 09:18 GMT
Thanks !
> Hi Ludo,
>
> see above the thread
> "How do I tell if text fits into a fixed-width table cell"