Is there any way to retrieve/set the "Text Wrapping" property
(None/Around) of a table programmatically? I have weird problems
inserting text into text-wrapped tables and need to temporarily change
this option while I manipulate the table's contents.

Thanks,
Chris Peacock.

Re: Table text wrapping property from VBA? by Jay

Jay
Thu Feb 16 10:00:28 CST 2006

Chris Peacock wrote:
> Is there any way to retrieve/set the "Text Wrapping" property
> (None/Around) of a table programmatically? I have weird problems
> inserting text into text-wrapped tables and need to temporarily change
> this option while I manipulate the table's contents.
>
> Thanks,
> Chris Peacock.

From the VBA help topic on the WrapAroundText property:

>>>>
This example sets Microsoft Word to wrap text around the first table in the
document.

ActiveDocument.Tables(1).Rows.WrapAroundText = True<<<<
-- Regards,Jay FreedmanMicrosoft Word MVP FAQ:
http://word.mvps.orgEmail cannot be acknowledged; please post all follow-ups
to the newsgroup so all may benefit.



Re: Table text wrapping property from VBA? by Chris

Chris
Thu Feb 16 10:12:59 CST 2006

Thanks Jay, I didn't think it would be that simple, after scouring the
object model and Google! I didn't expect it in the Rows collection....

Thanks again.