AllowAutoFit Property Example

This example sets the first table in the active document to automatically resize based on its contents.

ActiveDocument.Tables(1).AllowAutoFit = True